Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") [: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.005412/0.005412, allocations: 186 kB / 7.453 MB, free: 2.516 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.585/1.585, allocations: 170.6 MB / 178.4 MB, free: 15.77 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.002164/0.002164, allocations: 124.5 kB / 217.7 MB, free: 8.547 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.2393/0.2393, allocations: 37.98 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.598e-06, allocations: 1.156 kB / 349.5 MB, free: 37.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.138, allocations: 48.72 MB / 398.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.408/1.546, allocations: 448.8 MB / 0.8272 GB, free: 121.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.546, allocations: 71.95 kB / 0.8273 GB, free: 121.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.06408/1.61, allocations: 29.21 MB / 0.8558 GB, free: 92.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.986e-05/1.61, allocations: 4 kB / 0.8558 GB, free: 92.3 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000804/1.611, allocations: 382.6 kB / 0.8562 GB, free: 91.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.686e-05/1.611, allocations: 8.031 kB / 0.8562 GB, free: 91.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/1.614, allocations: 231.5 kB / 0.8564 GB, free: 91.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/1.614, allocations: 202.9 kB / 0.8566 GB, free: 91.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/1.614, allocations: 4 kB / 0.8566 GB, free: 91.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/1.614, allocations: 4 kB / 0.8566 GB, free: 91.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003499/1.615, allocations: 151.9 kB / 0.8567 GB, free: 91.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/1.615, allocations: 132.1 kB / 0.8569 GB, free: 91.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.615, allocations: 0 / 0.8569 GB, free: 91.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/1.615, allocations: 0 / 0.8569 GB, free: 91.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-06/1.615, allocations: 4 kB / 0.8569 GB, free: 91.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/1.616, allocations: 0.5418 MB / 0.8574 GB, free: 90.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/1.616, allocations: 118.5 kB / 0.8575 GB, free: 90.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/1.616, allocations: 60.84 kB / 0.8576 GB, free: 90.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/1.616, allocations: 8.141 kB / 0.8576 GB, free: 90.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/1.616, allocations: 39 kB / 0.8576 GB, free: 90.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.844e-06/1.616, allocations: 0 / 0.8576 GB, free: 90.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.003953/1.62, allocations: 0.8677 MB / 0.8585 GB, free: 89.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/1.62, allocations: 59.41 kB / 0.8585 GB, free: 89.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.136e-05/1.62, allocations: 101 kB / 0.8586 GB, free: 89.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/1.62, allocations: 25.7 kB / 0.8586 GB, free: 89.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/1.62, allocations: 91.89 kB / 0.8587 GB, free: 89.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/1.621, allocations: 63.09 kB / 0.8588 GB, free: 88.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/1.621, allocations: 0 / 0.8588 GB, free: 88.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/1.621, allocations: 331 kB / 0.8591 GB, free: 88.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/1.621, allocations: 56 kB / 0.8591 GB, free: 88.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/1.621, allocations: 104.1 kB / 0.8592 GB, free: 88.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/1.621, allocations: 68.78 kB / 0.8593 GB, free: 88.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.621, allocations: 4 kB / 0.8593 GB, free: 88.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004047/1.621, allocations: 228.7 kB / 0.8595 GB, free: 88.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.621, allocations: 8.094 kB / 0.8595 GB, free: 88.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.622, allocations: 0 / 0.8595 GB, free: 88.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/1.622, allocations: 44.84 kB / 0.8596 GB, free: 88.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/1.622, allocations: 51.95 kB / 0.8596 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004458/1.623, allocations: 0.576 MB / 0.8602 GB, free: 87.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/1.623, allocations: 4.031 kB / 0.8602 GB, free: 87.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/1.623, allocations: 27.98 kB / 0.8602 GB, free: 87.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001297/1.623, allocations: 120.8 kB / 0.8603 GB, free: 87.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/1.623, allocations: 7.906 kB / 0.8603 GB, free: 87.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009126/1.624, allocations: 355 kB / 0.8607 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/1.624, allocations: 4 kB / 0.8607 GB, free: 86.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.624, allocations: 3.906 kB / 0.8607 GB, free: 86.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.624, allocations: 0 / 0.8607 GB, free: 86.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/1.625, allocations: 0.5576 MB / 0.8612 GB, free: 86.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.625, allocations: 0 / 0.8612 GB, free: 86.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/1.625, allocations: 59.95 kB / 0.8613 GB, free: 86.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.051e-05/1.625, allocations: 20.84 kB / 0.8613 GB, free: 86.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/1.625, allocations: 15.92 kB / 0.8613 GB, free: 86.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007928/1.626, allocations: 1.213 MB / 0.8625 GB, free: 84.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.626, allocations: 0 / 0.8625 GB, free: 84.89 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005606/1.627, allocations: 440.2 kB / 0.8629 GB, free: 84.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/1.627, allocations: 89.08 kB / 0.863 GB, free: 84.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/1.627, allocations: 4 kB / 0.863 GB, free: 84.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/1.627, allocations: 4 kB / 0.863 GB, free: 84.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/1.627, allocations: 27.81 kB / 0.8631 GB, free: 84.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/1.627, allocations: 27.98 kB / 0.8631 GB, free: 84.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.472e-05/1.627, allocations: 83.28 kB / 0.8632 GB, free: 84.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006286/1.628, allocations: 104 kB / 0.8633 GB, free: 84.06 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/1.629, allocations: 0.639 MB / 0.8639 GB, free: 83.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004498/1.63, allocations: 188 kB / 0.8641 GB, free: 83.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.63, allocations: 0 / 0.8641 GB, free: 83.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/1.63, allocations: 193.8 kB / 0.8642 GB, free: 83.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/1.63, allocations: 40.2 kB / 0.8643 GB, free: 82.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/1.631, allocations: 321.2 kB / 0.8646 GB, free: 82.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/1.632, allocations: 0.7862 MB / 0.8654 GB, free: 81.83 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/1.632, allocations: 0 / 0.8654 GB, free: 81.83 MB / 426.7 MB Notification: Performance of Templates: time 0.01326/1.645, allocations: 8.41 MB / 0.8736 GB, free: 73.42 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1)