Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Functions_ExchangerEffectiveness_Inverse_test_NTU_counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Functions_ExchangerEffectiveness_Inverse_test_NTU_counter",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00278/0.00278, allocations: 179.9 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.2 MB / 213.1 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009517/0.0009516, allocations: 97.22 kB / 261.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.05976/0.05976, allocations: 10.87 MB / 319.9 MB, free: 2.535 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01563/0.01563, allocations: 4.159 MB / 374.2 MB, free: 79.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09889/0.1146, allocations: 57.62 MB / 431.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08671/0.2013, allocations: 50.77 MB / 482.5 MB, free: 2.934 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/0.4607, allocations: 77.96 MB / 0.5474 GB, free: 9.613 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.461, allocations: 69.59 kB / 0.5474 GB, free: 9.547 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003438/0.4644, allocations: 1.049 MB / 0.5485 GB, free: 8.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4645, allocations: 17.48 kB / 0.5485 GB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.4645, allocations: 6.031 kB / 0.5485 GB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.4647, allocations: 163 kB / 0.5486 GB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.4647, allocations: 4.562 kB / 0.5486 GB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.4647, allocations: 0 / 0.5486 GB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.985e-05/0.4648, allocations: 8 kB / 0.5486 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.236e-05/0.4649, allocations: 42.78 kB / 0.5487 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4649, allocations: 0.7031 kB / 0.5487 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.4649, allocations: 0 / 0.5487 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.4649, allocations: 2.375 kB / 0.5487 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.4653, allocations: 248.2 kB / 0.5489 GB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.592e-05/0.4654, allocations: 25.61 kB / 0.5489 GB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.4654, allocations: 8.859 kB / 0.549 GB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004051/0.4659, allocations: 184.6 kB / 0.5491 GB, free: 7.688 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.4659, allocations: 31.81 kB / 0.5492 GB, free: 7.648 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4659, allocations: 0 / 0.5492 GB, free: 7.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004034/0.4663, allocations: 74.3 kB / 0.5492 GB, free: 7.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.4663, allocations: 51.94 kB / 0.5493 GB, free: 7.508 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.003e-05/0.4664, allocations: 101.6 kB / 0.5494 GB, free: 7.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.4665, allocations: 33.72 kB / 0.5494 GB, free: 7.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.4665, allocations: 80.14 kB / 0.5495 GB, free: 7.281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.4665, allocations: 3.906 kB / 0.5495 GB, free: 7.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.4665, allocations: 0 / 0.5495 GB, free: 7.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4666, allocations: 318.8 kB / 0.5498 GB, free: 6.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.4667, allocations: 0 / 0.5498 GB, free: 6.957 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.4667, allocations: 8 kB / 0.5498 GB, free: 6.949 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.4669, allocations: 40 kB / 0.5498 GB, free: 6.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4669, allocations: 0 / 0.5498 GB, free: 6.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002798/0.4672, allocations: 80.64 kB / 0.5499 GB, free: 6.828 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4672, allocations: 9.859 kB / 0.5499 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4673, allocations: 0 / 0.5499 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.4673, allocations: 0 / 0.5499 GB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.4674, allocations: 16.02 kB / 0.5499 GB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.4674, allocations: 11.84 kB / 0.55 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.4675, allocations: 15.73 kB / 0.55 GB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.4675, allocations: 0 / 0.55 GB, free: 6.785 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.581e-05/0.4675, allocations: 105.9 kB / 0.5501 GB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.4676, allocations: 3.906 kB / 0.5501 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.4679, allocations: 88.89 kB / 0.5502 GB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4679, allocations: 0.5625 kB / 0.5502 GB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4679, allocations: 0 / 0.5502 GB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4679, allocations: 0 / 0.5502 GB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.4681, allocations: 134.2 kB / 0.5503 GB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4681, allocations: 0 / 0.5503 GB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.4682, allocations: 15.98 kB / 0.5503 GB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4682, allocations: 4.031 kB / 0.5503 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4682, allocations: 0 / 0.5503 GB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4682, allocations: 3.906 kB / 0.5503 GB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4682, allocations: 0.9375 kB / 0.5503 GB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003255/0.4685, allocations: 171.4 kB / 0.5505 GB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004668/0.469, allocations: 0.5467 MB / 0.551 GB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.4691, allocations: 81.02 kB / 0.5511 GB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4691, allocations: 0 / 0.5511 GB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.4692, allocations: 12.02 kB / 0.5511 GB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.4692, allocations: 4.766 kB / 0.5511 GB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.4692, allocations: 0 / 0.5511 GB, free: 5.527 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.379e-05/0.4693, allocations: 83.28 kB / 0.5512 GB, free: 5.445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007816/0.4701, allocations: 12 kB / 0.5512 GB, free: 5.434 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001886/0.4703, allocations: 115.2 kB / 0.5513 GB, free: 5.309 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.179e-05/0.4703, allocations: 12 kB / 0.5513 GB, free: 5.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4704, allocations: 1.125 kB / 0.5513 GB, free: 5.297 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.4704, allocations: 16 kB / 0.5513 GB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.4706, allocations: 7.906 kB / 0.5513 GB, free: 5.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.4708, allocations: 63.3 kB / 0.5514 GB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.4712, allocations: 0.689 MB / 0.5521 GB, free: 4.477 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4712, allocations: 3.938 kB / 0.5521 GB, free: 4.473 MB / 346.7 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Functions_ExchangerEffectiveness_Inverse_test_NTU_counter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_HeatTransfer_Functions_ExchangerEffectiveness_Inverse_test_NTU_counter.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.HeatTransfer.Functions.ExchangerEffectiveness.Inverse.test_NTU_counter.pipe 2>&1)