Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.001694/0.001693, allocations: 189.1 kB / 7.801 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.656/1.656, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009793/0.0009792, allocations: 91.58 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.22/0.22, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2548/0.4749, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.8654, allocations: 58.85 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5461/1.412, allocations: 240 MB / 0.6998 GB, free: 116.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/1.412, allocations: 95.44 kB / 0.6999 GB, free: 116.8 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 1.339/2.751, allocations: 405.7 MB / 1.096 GB, free: 89.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/2.752, allocations: 13.91 kB / 1.096 GB, free: 89.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/2.753, allocations: 153.8 kB / 1.096 GB, free: 89.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/2.755, allocations: 0.6216 MB / 1.097 GB, free: 89.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/2.755, allocations: 84.06 kB / 1.097 GB, free: 89.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002609/2.756, allocations: 29.69 kB / 1.097 GB, free: 89.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00172/2.757, allocations: 0.5229 MB / 1.097 GB, free: 88.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/2.759, allocations: 0.7837 MB / 1.098 GB, free: 88.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.235e-05/2.759, allocations: 7.562 kB / 1.098 GB, free: 88.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/2.759, allocations: 3.938 kB / 1.098 GB, free: 88.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.458e-05/2.759, allocations: 37.98 kB / 1.098 GB, free: 88.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006841/2.766, allocations: 4.495 MB / 1.103 GB, free: 84.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/2.767, allocations: 277.6 kB / 1.103 GB, free: 84.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/2.767, allocations: 136.2 kB / 1.103 GB, free: 84.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/2.767, allocations: 370.5 kB / 1.103 GB, free: 83.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/2.767, allocations: 41.91 kB / 1.103 GB, free: 83.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 3.386e-06/2.767, allocations: 0 / 1.103 GB, free: 83.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.004974/2.772, allocations: 1.432 MB / 1.105 GB, free: 82.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/2.772, allocations: 137.7 kB / 1.105 GB, free: 82.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007357/2.773, allocations: 464.8 kB / 1.105 GB, free: 82.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/2.773, allocations: 26.95 kB / 1.105 GB, free: 82.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/2.773, allocations: 344 kB / 1.106 GB, free: 81.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/2.773, allocations: 124.9 kB / 1.106 GB, free: 81.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/2.774, allocations: 3.594 kB / 1.106 GB, free: 81.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/2.774, allocations: 377 kB / 1.106 GB, free: 81.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/2.774, allocations: 193.1 kB / 1.106 GB, free: 81.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/2.775, allocations: 490.7 kB / 1.107 GB, free: 80.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/2.776, allocations: 372.6 kB / 1.107 GB, free: 80.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/2.776, allocations: 5.5 kB / 1.107 GB, free: 80.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002416/2.779, allocations: 0.8831 MB / 1.108 GB, free: 80.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/2.779, allocations: 4.469 kB / 1.108 GB, free: 80.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/2.779, allocations: 10.09 kB / 1.108 GB, free: 80.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008951/2.78, allocations: 234.9 kB / 1.108 GB, free: 80.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/2.78, allocations: 138.9 kB / 1.108 GB, free: 80.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/2.781, allocations: 1.466 MB / 1.11 GB, free: 78.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/2.782, allocations: 18.73 kB / 1.11 GB, free: 78.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/2.782, allocations: 84.08 kB / 1.11 GB, free: 78.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001893/2.783, allocations: 140.8 kB / 1.11 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/2.783, allocations: 57.84 kB / 1.11 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/2.786, allocations: 1.295 MB / 1.111 GB, free: 78.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-05/2.786, allocations: 12 kB / 1.111 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/2.786, allocations: 0 / 1.111 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/2.786, allocations: 3.984 kB / 1.111 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/2.789, allocations: 1.451 MB / 1.113 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/2.789, allocations: 3.906 kB / 1.113 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/2.789, allocations: 47.92 kB / 1.113 GB, free: 76.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005325/2.79, allocations: 164.5 kB / 1.113 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/2.79, allocations: 11.98 kB / 1.113 GB, free: 76.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/2.791, allocations: 1.369 MB / 1.114 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/2.791, allocations: 2.688 kB / 1.114 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001909/2.793, allocations: 1.127 MB / 1.116 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002355/2.795, allocations: 1.904 MB / 1.117 GB, free: 71.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004522/2.795, allocations: 212.2 kB / 1.118 GB, free: 71.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/2.796, allocations: 11.91 kB / 1.118 GB, free: 71.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/2.796, allocations: 15.08 kB / 1.118 GB, free: 71.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/2.796, allocations: 27.95 kB / 1.118 GB, free: 71.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/2.796, allocations: 35.98 kB / 1.118 GB, free: 71.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004611/2.797, allocations: 350.9 kB / 1.118 GB, free: 71.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003365/2.8, allocations: 0.6564 MB / 1.119 GB, free: 70.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00224/2.802, allocations: 0.7614 MB / 1.119 GB, free: 69.85 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001124/2.803, allocations: 0.5699 MB / 1.12 GB, free: 69.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/2.804, allocations: 0 / 1.12 GB, free: 69.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005613/2.804, allocations: 303.7 kB / 1.12 GB, free: 68.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/2.805, allocations: 252.2 kB / 1.121 GB, free: 68.76 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03373/2.839, allocations: 17.07 MB / 1.137 GB, free: 52.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/2.84, allocations: 1.108 MB / 1.138 GB, free: 51.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.302e-06/2.84, allocations: 0 / 1.138 GB, free: 51.02 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)