Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [: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.1+maint.om/package.mo): time 0.005541/0.00554, allocations: 179.6 kB / 7.448 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.515/1.515, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00175/0.00175, allocations: 123.8 kB / 217.7 MB, free: 8.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2048/0.2048, allocations: 37.98 MB / 294.8 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.959e-06/1.031e-05, allocations: 1.5 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1331, allocations: 48.7 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.312/6.445, allocations: 2.474 GB / 2.862 GB, free: 36.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/6.445, allocations: 72.7 kB / 2.863 GB, free: 36.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.7793/7.225, allocations: 204.1 MB / 3.062 GB, free: 3.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.968e-05/7.225, allocations: 4 kB / 3.062 GB, free: 3.363 MB / 426.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.01217/7.237, allocations: 1.741 MB / 3.063 GB, free: 1.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.442e-05/7.237, allocations: 12.03 kB / 3.064 GB, free: 1.566 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/7.24, allocations: 239.4 kB / 3.064 GB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000703/7.24, allocations: 278.6 kB / 3.064 GB, free: 1.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/7.24, allocations: 8 kB / 3.064 GB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.553e-05/7.241, allocations: 23.98 kB / 3.064 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001059/7.242, allocations: 0.5244 MB / 3.065 GB, free: 472 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007881/7.242, allocations: 380.3 kB / 3.065 GB, free: 48 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/7.242, allocations: 0 / 3.065 GB, free: 48 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/7.243, allocations: 7.938 kB / 3.065 GB, free: 40 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/7.243, allocations: 8 kB / 3.065 GB, free: 32 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.795/9.038, allocations: 364.3 MB / 3.421 GB, free: 38.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/9.038, allocations: 41.09 kB / 3.421 GB, free: 38.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.932e-05/9.038, allocations: 23.3 kB / 3.421 GB, free: 38.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5998/9.638, allocations: 46.13 MB / 3.466 GB, free: 106.1 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/9.638, allocations: 116.6 kB / 3.466 GB, free: 106.1 MB / 442.8 MB Notification: Performance of pre-optimization done (n=10): time 3.477e-06/9.638, allocations: 1.312 kB / 3.466 GB, free: 106.1 MB / 442.8 MB Notification: Performance of matching and sorting (n=10): time 0.001977/9.64, allocations: 362.8 kB / 3.466 GB, free: 106 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/9.64, allocations: 132.7 kB / 3.466 GB, free: 105.9 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/9.641, allocations: 228.8 kB / 3.467 GB, free: 105.8 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/9.641, allocations: 25.7 kB / 3.467 GB, free: 105.7 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/9.641, allocations: 257.4 kB / 3.467 GB, free: 105.6 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/9.641, allocations: 37.62 kB / 3.467 GB, free: 105.6 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/9.641, allocations: 0 / 3.467 GB, free: 105.6 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001966/9.641, allocations: 331.4 kB / 3.467 GB, free: 105.2 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/9.642, allocations: 61.56 kB / 3.467 GB, free: 105.2 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/9.642, allocations: 308.6 kB / 3.468 GB, free: 104.9 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/9.643, allocations: 124.3 kB / 3.468 GB, free: 104.9 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/9.643, allocations: 0 / 3.468 GB, free: 104.9 MB / 442.8 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002574/9.645, allocations: 0.8256 MB / 3.468 GB, free: 104.9 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/9.645, allocations: 6.406 kB / 3.468 GB, free: 104.9 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/9.645, allocations: 7.938 kB / 3.468 GB, free: 104.9 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.283e-05/9.645, allocations: 19.62 kB / 3.469 GB, free: 104.9 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/9.646, allocations: 122.3 kB / 3.469 GB, free: 104.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.439e-05/9.646, allocations: 14 kB / 3.469 GB, free: 104.9 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/9.646, allocations: 65.89 kB / 3.469 GB, free: 104.9 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/9.646, allocations: 31.42 kB / 3.469 GB, free: 104.9 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state_h_is.phase,state.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 (58): * Single equations (assignments): 58 * 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 0.0001328/9.646, allocations: 130.2 kB / 3.469 GB, free: 104.8 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007675/9.647, allocations: 272.7 kB / 3.469 GB, free: 104.7 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/9.648, allocations: 250.8 kB / 3.469 GB, free: 104.7 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/9.648, allocations: 3.406 kB / 3.469 GB, free: 104.7 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/9.648, allocations: 0 / 3.469 GB, free: 104.7 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/9.648, allocations: 0 / 3.469 GB, free: 104.7 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006798/9.648, allocations: 0.5988 MB / 3.47 GB, free: 104.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/9.648, allocations: 3.906 kB / 3.47 GB, free: 104.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/9.648, allocations: 13.36 kB / 3.47 GB, free: 104.3 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/9.648, allocations: 3.688 kB / 3.47 GB, free: 104.3 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/9.648, allocations: 7.125 kB / 3.47 GB, free: 104.3 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/9.648, allocations: 0 / 3.47 GB, free: 104.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/9.648, allocations: 7.344 kB / 3.47 GB, free: 104.3 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001002/9.649, allocations: 0.5323 MB / 3.47 GB, free: 104 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/9.65, allocations: 184.3 kB / 3.471 GB, free: 103.9 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/9.65, allocations: 7.844 kB / 3.471 GB, free: 103.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/9.65, allocations: 11.77 kB / 3.471 GB, free: 103.8 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/9.65, allocations: 6.781 kB / 3.471 GB, free: 103.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/9.65, allocations: 7.531 kB / 3.471 GB, free: 103.8 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.0002676/9.65, allocations: 259.9 kB / 3.471 GB, free: 103.8 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.009741/9.66, allocations: 1.543 MB / 3.472 GB, free: 103.8 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.01427/9.674, allocations: 2.129 MB / 3.475 GB, free: 103.7 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0006316/9.675, allocations: 174.7 kB / 3.475 GB, free: 103.7 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/9.675, allocations: 3.312 kB / 3.475 GB, free: 103.7 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 4.885e-05/9.675, allocations: 14.94 kB / 3.475 GB, free: 103.7 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006423/9.676, allocations: 27.84 kB / 3.475 GB, free: 103.7 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2434/9.919, allocations: 94.95 MB / 3.567 GB, free: 95.18 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005314/9.92, allocations: 0.831 MB / 3.568 GB, free: 94.38 MB / 442.8 MB Notification: Performance of SimCode: time 2.705e-06/9.92, allocations: 0 / 3.568 GB, free: 94.38 MB / 442.8 MB Notification: Performance of Templates: time 0.0647/9.985, allocations: 38.8 MB / 3.606 GB, free: 66.39 MB / 442.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1)