Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.001751/0.001751, allocations: 189.1 kB / 7.804 MB, free: 2.488 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.632/1.632, 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.001158/0.001158, allocations: 91.5 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.2318/0.2318, allocations: 43.5 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2464/0.4782, allocations: 64.98 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.8784, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5848/1.463, allocations: 240.1 MB / 0.7 GB, free: 116.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/1.464, allocations: 95.44 kB / 0.7001 GB, free: 116.6 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.32/2.783, allocations: 380.9 MB / 1.072 GB, free: 92.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/2.784, allocations: 7.688 kB / 1.072 GB, free: 92.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/2.785, allocations: 152.5 kB / 1.072 GB, free: 92.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/2.787, allocations: 0.6285 MB / 1.073 GB, free: 91.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/2.787, allocations: 85.83 kB / 1.073 GB, free: 91.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/2.787, allocations: 31.62 kB / 1.073 GB, free: 91.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001033/2.788, allocations: 0.5223 MB / 1.073 GB, free: 91.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/2.789, allocations: 0.7716 MB / 1.074 GB, free: 91.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/2.789, allocations: 5.781 kB / 1.074 GB, free: 91.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/2.789, allocations: 2.562 kB / 1.074 GB, free: 91.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-05/2.789, allocations: 48.47 kB / 1.074 GB, free: 91.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005085/2.795, allocations: 4.481 MB / 1.079 GB, free: 88.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/2.795, allocations: 273.5 kB / 1.079 GB, free: 88.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/2.795, allocations: 135.6 kB / 1.079 GB, free: 88.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/2.795, allocations: 361.2 kB / 1.079 GB, free: 88.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/2.795, allocations: 38.28 kB / 1.079 GB, free: 88.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 3.486e-06/2.795, allocations: 3.75 kB / 1.079 GB, free: 88.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.004425/2.8, allocations: 1.413 MB / 1.081 GB, free: 87.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/2.8, allocations: 136 kB / 1.081 GB, free: 87.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/2.8, allocations: 472.8 kB / 1.081 GB, free: 87.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/2.801, allocations: 25.7 kB / 1.081 GB, free: 87.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/2.801, allocations: 335.9 kB / 1.082 GB, free: 87.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/2.801, allocations: 128.8 kB / 1.082 GB, free: 86.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/2.801, allocations: 0 / 1.082 GB, free: 86.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/2.801, allocations: 375.1 kB / 1.082 GB, free: 86.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/2.801, allocations: 194.8 kB / 1.082 GB, free: 86.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/2.802, allocations: 491.9 kB / 1.083 GB, free: 86.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/2.803, allocations: 372.1 kB / 1.083 GB, free: 86.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/2.803, allocations: 3.656 kB / 1.083 GB, free: 86.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002176/2.805, allocations: 0.8739 MB / 1.084 GB, free: 86.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/2.806, allocations: 11.12 kB / 1.084 GB, free: 86.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/2.806, allocations: 9.562 kB / 1.084 GB, free: 86.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008029/2.806, allocations: 233.4 kB / 1.084 GB, free: 86.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/2.807, allocations: 135.6 kB / 1.084 GB, free: 86.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/2.808, allocations: 1.451 MB / 1.086 GB, free: 85.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/2.809, allocations: 27.23 kB / 1.086 GB, free: 85.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/2.809, allocations: 83.64 kB / 1.086 GB, free: 85.02 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.0001783/2.809, allocations: 130.8 kB / 1.086 GB, free: 84.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/2.809, allocations: 62.59 kB / 1.086 GB, free: 84.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/2.812, allocations: 1.237 MB / 1.087 GB, free: 84.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/2.813, allocations: 16.91 kB / 1.087 GB, free: 84.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/2.813, allocations: 1.062 kB / 1.087 GB, free: 84.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/2.813, allocations: 3.719 kB / 1.087 GB, free: 84.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/2.815, allocations: 1.444 MB / 1.089 GB, free: 84.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/2.816, allocations: 0.7188 kB / 1.089 GB, free: 84.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/2.816, allocations: 49.06 kB / 1.089 GB, free: 84.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000582/2.816, allocations: 166.7 kB / 1.089 GB, free: 84.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/2.816, allocations: 5.688 kB / 1.089 GB, free: 84.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/2.818, allocations: 1.377 MB / 1.09 GB, free: 83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/2.818, allocations: 1.031 kB / 1.09 GB, free: 83 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002342/2.82, allocations: 1.135 MB / 1.091 GB, free: 82.5 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00281/2.823, allocations: 1.887 MB / 1.093 GB, free: 81.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/2.823, allocations: 221.6 kB / 1.093 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/2.823, allocations: 1.938 kB / 1.093 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/2.824, allocations: 17.16 kB / 1.093 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/2.824, allocations: 32.27 kB / 1.093 GB, free: 81.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.17e-05/2.824, allocations: 28.27 kB / 1.094 GB, free: 81.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005706/2.824, allocations: 353.5 kB / 1.094 GB, free: 81.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003182/2.828, allocations: 0.6557 MB / 1.094 GB, free: 80.89 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.002054/2.83, allocations: 0.7577 MB / 1.095 GB, free: 80.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/2.831, allocations: 0.5689 MB / 1.096 GB, free: 80.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/2.831, allocations: 1.094 kB / 1.096 GB, free: 80.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006819/2.832, allocations: 299.5 kB / 1.096 GB, free: 80.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/2.833, allocations: 253.7 kB / 1.096 GB, free: 80.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04157/2.875, allocations: 16.1 MB / 1.112 GB, free: 76.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/2.876, allocations: 1.087 MB / 1.113 GB, free: 75.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.373e-06/2.876, allocations: 0 / 1.113 GB, free: 75.23 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)