Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.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.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",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.001319/0.00132, allocations: 189.1 kB / 7.803 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.5/1.5, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.001016/0.001016, allocations: 91.39 kB / 261.4 MB, free: 13.5 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.2096/0.2096, allocations: 43.5 MB / 352.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2361/0.4457, allocations: 64.96 MB / 417.8 MB, free: 40.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.7743, allocations: 58.85 MB / 476.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.167/7.941, allocations: 3.569 GB / 4.035 GB, free: 116 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/7.942, allocations: 75.95 kB / 4.035 GB, free: 115.9 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.266/8.208, allocations: 107.3 MB / 4.14 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/8.208, allocations: 12 kB / 4.14 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/8.208, allocations: 35.62 kB / 4.14 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/8.209, allocations: 254.6 kB / 4.14 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/8.209, allocations: 123.4 kB / 4.14 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/8.209, allocations: 16 kB / 4.14 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001206/8.21, allocations: 1.2 MB / 4.141 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/8.211, allocations: 0.5281 MB / 4.142 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/8.211, allocations: 0 / 4.142 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/8.211, allocations: 4 kB / 4.142 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/8.211, allocations: 28.58 kB / 4.142 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/8.215, allocations: 4.301 MB / 4.146 GB, free: 496 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/8.215, allocations: 119.1 kB / 4.146 GB, free: 368 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.006e-05/8.215, allocations: 48.77 kB / 4.146 GB, free: 316 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2506/8.466, allocations: 363.9 kB / 4.146 GB, free: 180.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/8.466, allocations: 33.75 kB / 4.146 GB, free: 180.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 3.496e-06/8.466, allocations: 0 / 4.146 GB, free: 180.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001416/8.468, allocations: 303.7 kB / 4.147 GB, free: 180 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/8.468, allocations: 58.16 kB / 4.147 GB, free: 180 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/8.468, allocations: 259.9 kB / 4.147 GB, free: 179.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/8.468, allocations: 25.7 kB / 4.147 GB, free: 179.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/8.468, allocations: 268.9 kB / 4.147 GB, free: 179.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/8.468, allocations: 74.59 kB / 4.147 GB, free: 179.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/8.468, allocations: 0 / 4.147 GB, free: 179.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.131e-05/8.468, allocations: 336.2 kB / 4.148 GB, free: 179.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/8.468, allocations: 89.19 kB / 4.148 GB, free: 179.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/8.469, allocations: 398.3 kB / 4.148 GB, free: 178.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/8.47, allocations: 355.7 kB / 4.148 GB, free: 178.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/8.47, allocations: 2.875 kB / 4.148 GB, free: 178.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001747/8.472, allocations: 0.6743 MB / 4.149 GB, free: 178.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/8.472, allocations: 5.312 kB / 4.149 GB, free: 178.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/8.472, allocations: 13.59 kB / 4.149 GB, free: 178.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/8.472, allocations: 13.06 kB / 4.149 GB, free: 178.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/8.472, allocations: 215.3 kB / 4.149 GB, free: 178.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005023/8.473, allocations: 1.215 MB / 4.151 GB, free: 177.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/8.473, allocations: 17.38 kB / 4.151 GB, free: 177.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/8.474, allocations: 78.62 kB / 4.151 GB, free: 177.7 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001667/8.474, allocations: 138.7 kB / 4.151 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/8.474, allocations: 30.12 kB / 4.151 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/8.474, allocations: 228.9 kB / 4.151 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/8.474, allocations: 3.719 kB / 4.151 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/8.474, allocations: 0 / 4.151 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/8.474, allocations: 3.328 kB / 4.151 GB, free: 177.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006476/8.475, allocations: 0.5121 MB / 4.152 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/8.475, allocations: 3.438 kB / 4.152 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/8.475, allocations: 75 kB / 4.152 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/8.475, allocations: 3.25 kB / 4.152 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/8.475, allocations: 3.875 kB / 4.152 GB, free: 177.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004467/8.476, allocations: 1.196 MB / 4.153 GB, free: 176.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/8.476, allocations: 3.375 kB / 4.153 GB, free: 176.1 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003418/8.476, allocations: 287.5 kB / 4.153 GB, free: 175.9 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005629/8.477, allocations: 0.7115 MB / 4.154 GB, free: 175.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/8.477, allocations: 159.7 kB / 4.154 GB, free: 175.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/8.477, allocations: 3.219 kB / 4.154 GB, free: 175.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/8.477, allocations: 9.625 kB / 4.154 GB, free: 175.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/8.477, allocations: 8.484 kB / 4.154 GB, free: 175.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/8.477, allocations: 14.08 kB / 4.154 GB, free: 175.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001334/8.478, allocations: 183.9 kB / 4.154 GB, free: 175.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003141/8.481, allocations: 0.7659 MB / 4.155 GB, free: 175.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00277/8.484, allocations: 1.483 MB / 4.156 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007121/8.484, allocations: 318.3 kB / 4.157 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/8.484, allocations: 2.812 kB / 4.157 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/8.485, allocations: 102.6 kB / 4.157 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/8.485, allocations: 45.92 kB / 4.157 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.222/8.707, allocations: 60.76 MB / 4.216 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008441/8.708, allocations: 0.8989 MB / 4.217 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/8.708, allocations: 5.25 kB / 4.217 GB, free: 168.1 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1)