Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.ReferenceAir_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_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.2+maint.om/package.mo): time 0.002486/0.002486, allocations: 182.2 kB / 7.458 MB, free: 2.5 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.313/1.313, allocations: 194.2 MB / 202.1 MB, free: 8.676 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.00178/0.001781, allocations: 114.9 kB / 247.1 MB, free: 6.359 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.1999/0.1999, allocations: 39.93 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.153e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 54.86 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.646/1.779, allocations: 0.6416 GB / 1.079 GB, free: 131 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/1.78, allocations: 88.48 kB / 1.079 GB, free: 130.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.1944/1.974, allocations: 108.7 MB / 1.185 GB, free: 22.44 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/1.974, allocations: 4 kB / 1.185 GB, free: 22.44 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003602/1.978, allocations: 1.067 MB / 1.186 GB, free: 21.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.978, allocations: 8.031 kB / 1.186 GB, free: 21.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006755/1.978, allocations: 79.64 kB / 1.186 GB, free: 21.24 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/1.979, allocations: 242.7 kB / 1.186 GB, free: 20.96 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/1.979, allocations: 15.94 kB / 1.186 GB, free: 20.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/1.979, allocations: 12 kB / 1.186 GB, free: 20.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006779/1.98, allocations: 0.5945 MB / 1.187 GB, free: 20.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/1.98, allocations: 349.4 kB / 1.187 GB, free: 19.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/1.98, allocations: 0 / 1.187 GB, free: 19.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/1.98, allocations: 3.984 kB / 1.187 GB, free: 19.96 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/1.98, allocations: 12 kB / 1.187 GB, free: 19.95 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2854/2.265, allocations: 29.31 MB / 1.216 GB, free: 166.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/2.266, allocations: 39.48 kB / 1.216 GB, free: 166.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/2.266, allocations: 15.83 kB / 1.216 GB, free: 166.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008264/2.274, allocations: 3.557 MB / 1.219 GB, free: 165.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/2.274, allocations: 83.38 kB / 1.219 GB, free: 165.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 4.148e-06/2.274, allocations: 3.938 kB / 1.219 GB, free: 165.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008557/2.275, allocations: 154.8 kB / 1.22 GB, free: 165.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/2.275, allocations: 51.41 kB / 1.22 GB, free: 165.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/2.275, allocations: 222.3 kB / 1.22 GB, free: 165 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/2.276, allocations: 25.7 kB / 1.22 GB, free: 164.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/2.276, allocations: 251.7 kB / 1.22 GB, free: 164.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/2.276, allocations: 31.31 kB / 1.22 GB, free: 164.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/2.276, allocations: 0 / 1.22 GB, free: 164.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.528e-05/2.276, allocations: 332.3 kB / 1.221 GB, free: 164.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/2.276, allocations: 55.67 kB / 1.221 GB, free: 164.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/2.276, allocations: 292 kB / 1.221 GB, free: 164.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/2.278, allocations: 212.4 kB / 1.221 GB, free: 164.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/2.278, allocations: 3.344 kB / 1.221 GB, free: 164.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002071/2.28, allocations: 0.5606 MB / 1.222 GB, free: 164.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/2.28, allocations: 7.594 kB / 1.222 GB, free: 164.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/2.28, allocations: 6.469 kB / 1.222 GB, free: 164.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/2.28, allocations: 13.16 kB / 1.222 GB, free: 164.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/2.28, allocations: 108.1 kB / 1.222 GB, free: 164.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/2.28, allocations: 21.09 kB / 1.222 GB, free: 164.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/2.28, allocations: 48.56 kB / 1.222 GB, free: 164.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/2.28, allocations: 32.28 kB / 1.222 GB, free: 164.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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 8.805e-05/2.281, allocations: 122.2 kB / 1.222 GB, free: 164 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/2.281, allocations: 100.5 kB / 1.222 GB, free: 164 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/2.281, allocations: 156.4 kB / 1.222 GB, free: 163.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/2.281, allocations: 0 / 1.222 GB, free: 163.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/2.281, allocations: 0 / 1.222 GB, free: 163.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/2.281, allocations: 0 / 1.222 GB, free: 163.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004879/2.286, allocations: 2.313 MB / 1.224 GB, free: 162.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/2.286, allocations: 0 / 1.224 GB, free: 162.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/2.286, allocations: 9.125 kB / 1.224 GB, free: 162.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/2.286, allocations: 3.891 kB / 1.224 GB, free: 162.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/2.286, allocations: 3.031 kB / 1.224 GB, free: 162.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/2.286, allocations: 1.688 kB / 1.224 GB, free: 162.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/2.286, allocations: 10.75 kB / 1.224 GB, free: 162.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005025/2.287, allocations: 328.4 kB / 1.225 GB, free: 162.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.732e-05/2.287, allocations: 146.3 kB / 1.225 GB, free: 162.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/2.287, allocations: 3.047 kB / 1.225 GB, free: 162.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/2.287, allocations: 10.62 kB / 1.225 GB, free: 162.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/2.287, allocations: 9.594 kB / 1.225 GB, free: 162.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/2.287, allocations: 3.938 kB / 1.225 GB, free: 162.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001443/2.287, allocations: 180.3 kB / 1.225 GB, free: 162.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001718/2.289, allocations: 422.3 kB / 1.226 GB, free: 162.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.002118/2.291, allocations: 0.8666 MB / 1.226 GB, free: 162.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003462/2.291, allocations: 168.1 kB / 1.227 GB, free: 162.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/2.291, allocations: 0 / 1.227 GB, free: 162.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.824e-05/2.292, allocations: 23.03 kB / 1.227 GB, free: 162.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/2.292, allocations: 27.88 kB / 1.227 GB, free: 162.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.546/2.838, allocations: 210.8 MB / 1.432 GB, free: 172.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/2.838, allocations: 0.7874 MB / 1.433 GB, free: 172.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/2.838, allocations: 0 / 1.433 GB, free: 172.2 MB / 474.7 MB Notification: Performance of Templates: time 0.01701/2.855, allocations: 12.07 MB / 1.445 GB, free: 171.6 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1)