Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [: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.2+maint.om/package.mo): time 0.004095/0.004095, allocations: 181.5 kB / 7.457 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.275/1.275, allocations: 194.2 MB / 202.1 MB, free: 8.758 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001742/0.001742, allocations: 119.9 kB / 247.1 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2038/0.2038, allocations: 39.95 MB / 331.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.771e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 54.87 MB / 447.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.43/5.535, allocations: 2.583 GB / 3.02 GB, free: 153.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/5.535, allocations: 79.47 kB / 3.02 GB, free: 153.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.7342/6.269, allocations: 207.1 MB / 3.222 GB, free: 87.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/6.269, allocations: 7.531 kB / 3.222 GB, free: 87.28 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.009144/6.278, allocations: 1.757 MB / 3.224 GB, free: 86.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/6.278, allocations: 10.45 kB / 3.224 GB, free: 86.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/6.28, allocations: 200 kB / 3.224 GB, free: 86.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/6.281, allocations: 268.3 kB / 3.224 GB, free: 86.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/6.281, allocations: 15.81 kB / 3.224 GB, free: 86.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/6.281, allocations: 15.84 kB / 3.224 GB, free: 86.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007043/6.281, allocations: 476.1 kB / 3.225 GB, free: 86.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/6.282, allocations: 376.8 kB / 3.225 GB, free: 86.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/6.282, allocations: 0 / 3.225 GB, free: 86.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/6.282, allocations: 7.766 kB / 3.225 GB, free: 86.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/6.282, allocations: 7.906 kB / 3.225 GB, free: 86.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9679/7.25, allocations: 262.5 MB / 3.482 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/7.25, allocations: 75.41 kB / 3.482 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/7.25, allocations: 34.45 kB / 3.482 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1132/7.364, allocations: 46.29 MB / 3.527 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/7.364, allocations: 117.9 kB / 3.527 GB, free: 93.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 2.544e-06/7.364, allocations: 0 / 3.527 GB, free: 93.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.002232/7.366, allocations: 473.1 kB / 3.527 GB, free: 93.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/7.366, allocations: 77.11 kB / 3.528 GB, free: 93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/7.367, allocations: 216.2 kB / 3.528 GB, free: 92.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/7.367, allocations: 25.7 kB / 3.528 GB, free: 92.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/7.367, allocations: 247.4 kB / 3.528 GB, free: 92.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/7.367, allocations: 56.89 kB / 3.528 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/7.367, allocations: 0 / 3.528 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001769/7.367, allocations: 336 kB / 3.528 GB, free: 92.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/7.367, allocations: 55.06 kB / 3.528 GB, free: 92.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/7.368, allocations: 318.5 kB / 3.529 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/7.368, allocations: 125.9 kB / 3.529 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/7.368, allocations: 4 kB / 3.529 GB, free: 91.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002454/7.371, allocations: 0.7834 MB / 3.53 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/7.371, allocations: 4 kB / 3.53 GB, free: 91.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/7.371, allocations: 12 kB / 3.53 GB, free: 91.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/7.371, allocations: 17.67 kB / 3.53 GB, free: 91.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/7.371, allocations: 134.6 kB / 3.53 GB, free: 91.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006828/7.372, allocations: 1.202 MB / 3.531 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/7.372, allocations: 15.91 kB / 3.531 GB, free: 89.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/7.372, allocations: 34.89 kB / 3.531 GB, free: 89.94 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: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * 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.0002155/7.373, allocations: 131.3 kB / 3.531 GB, free: 89.83 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000775/7.373, allocations: 260.6 kB / 3.531 GB, free: 89.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/7.375, allocations: 0.83 MB / 3.532 GB, free: 89.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/7.375, allocations: 11.03 kB / 3.532 GB, free: 89.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/7.375, allocations: 4.562 kB / 3.532 GB, free: 89.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/7.375, allocations: 0 / 3.532 GB, free: 89.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/7.375, allocations: 404.5 kB / 3.533 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/7.375, allocations: 0 / 3.533 GB, free: 88.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/7.375, allocations: 25.48 kB / 3.533 GB, free: 88.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/7.376, allocations: 172.3 kB / 3.533 GB, free: 88.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/7.376, allocations: 0 / 3.533 GB, free: 88.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006925/7.376, allocations: 1.371 MB / 3.534 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/7.376, allocations: 192 / 3.534 GB, free: 87.54 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001237/7.377, allocations: 0.7343 MB / 3.535 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/7.378, allocations: 163.4 kB / 3.535 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/7.378, allocations: 0 / 3.535 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/7.378, allocations: 11.42 kB / 3.535 GB, free: 86.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.362e-05/7.378, allocations: 10.73 kB / 3.535 GB, free: 86.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/7.378, allocations: 8 kB / 3.535 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002159/7.378, allocations: 216.6 kB / 3.535 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009257/7.387, allocations: 1.688 MB / 3.537 GB, free: 85.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01406/7.402, allocations: 2.302 MB / 3.539 GB, free: 83.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001015/7.403, allocations: 377.1 kB / 3.539 GB, free: 83.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/7.403, allocations: 4 kB / 3.539 GB, free: 83.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/7.403, allocations: 266 kB / 3.54 GB, free: 83.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/7.403, allocations: 32.36 kB / 3.54 GB, free: 83.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1872/7.591, allocations: 81.66 MB / 3.62 GB, free: 20.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/7.591, allocations: 0.8458 MB / 3.62 GB, free: 19.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/7.591, allocations: 6.531 kB / 3.62 GB, free: 19.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.3197/7.911, allocations: 42.77 MB / 3.662 GB, free: 121.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1)