Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [: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 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 176 kB / 8.519 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 221.4 MB / 230.3 MB, free: 7.629 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.0008948, allocations: 82.11 kB / 281.2 MB, free: 5.434 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 44.14 MB / 376.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.675e-06/7.695e-06, allocations: 224 / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1627, allocations: 61.91 MB / 0.4941 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.44/1.603, allocations: 0.5209 GB / 1.015 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/1.604, allocations: 91.94 kB / 1.015 GB, free: 114 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.7325/2.336, allocations: 205 MB / 1.215 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.037e-05/2.336, allocations: 27.78 kB / 1.215 GB, free: 121.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002731/2.339, allocations: 1.039 MB / 1.216 GB, free: 121 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/2.339, allocations: 9.094 kB / 1.216 GB, free: 121 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/2.34, allocations: 136.7 kB / 1.216 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/2.341, allocations: 0.5387 MB / 1.217 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/2.341, allocations: 88.08 kB / 1.217 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/2.341, allocations: 31.44 kB / 1.217 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001085/2.342, allocations: 0.5373 MB / 1.218 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/2.344, allocations: 0.7499 MB / 1.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/2.344, allocations: 4 kB / 1.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/2.344, allocations: 4 kB / 1.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.845e-05/2.344, allocations: 36.92 kB / 1.218 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/2.348, allocations: 4.087 MB / 1.222 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/2.348, allocations: 206.3 kB / 1.223 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/2.348, allocations: 141.3 kB / 1.223 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/2.348, allocations: 85.34 kB / 1.223 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/2.348, allocations: 38.7 kB / 1.223 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.893e-06/2.348, allocations: 0 / 1.223 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.004932/2.353, allocations: 1.391 MB / 1.224 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/2.353, allocations: 132.5 kB / 1.224 GB, free: 113 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005582/2.354, allocations: 466 kB / 1.225 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/2.354, allocations: 25.7 kB / 1.225 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/2.354, allocations: 334.8 kB / 1.225 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/2.354, allocations: 126.3 kB / 1.225 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/2.354, allocations: 0 / 1.225 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001608/2.354, allocations: 366.8 kB / 1.226 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/2.355, allocations: 181.5 kB / 1.226 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/2.355, allocations: 497.1 kB / 1.226 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/2.356, allocations: 311.4 kB / 1.227 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/2.356, allocations: 4 kB / 1.227 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00132/2.357, allocations: 0.8147 MB / 1.227 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/2.357, allocations: 4 kB / 1.227 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/2.357, allocations: 8 kB / 1.227 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/2.358, allocations: 287.2 kB / 1.228 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/2.359, allocations: 119.8 kB / 1.228 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/2.36, allocations: 0.9624 MB / 1.229 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/2.36, allocations: 31.97 kB / 1.229 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.146e-05/2.36, allocations: 64 kB / 1.229 GB, free: 108.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0001552/2.361, allocations: 140.6 kB / 1.229 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/2.361, allocations: 63.28 kB / 1.229 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/2.362, allocations: 0.7415 MB / 1.23 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/2.362, allocations: 0 / 1.23 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/2.362, allocations: 4 kB / 1.23 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/2.362, allocations: 7.922 kB / 1.23 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/2.363, allocations: 0.9905 MB / 1.231 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/2.363, allocations: 4.031 kB / 1.231 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009892/2.364, allocations: 187.8 kB / 1.231 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.991e-05/2.365, allocations: 20.84 kB / 1.231 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/2.365, allocations: 12 kB / 1.231 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/2.366, allocations: 2.592 MB / 1.233 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/2.366, allocations: 4.219 kB / 1.233 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000835/2.367, allocations: 0.6856 MB / 1.234 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/2.367, allocations: 176.3 kB / 1.234 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/2.367, allocations: 0 / 1.234 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/2.368, allocations: 23.98 kB / 1.234 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/2.368, allocations: 31.88 kB / 1.234 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/2.368, allocations: 35.98 kB / 1.234 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0003468/2.368, allocations: 342.9 kB / 1.235 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001339/2.369, allocations: 303.8 kB / 1.235 GB, free: 101.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001949/2.371, allocations: 1.084 MB / 1.236 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009057/2.372, allocations: 495.1 kB / 1.236 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.372, allocations: 0 / 1.236 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/2.373, allocations: 406.7 kB / 1.237 GB, free: 99.76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/2.375, allocations: 238.1 kB / 1.237 GB, free: 99.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/2.376, allocations: 0.8912 MB / 1.238 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000901/2.377, allocations: 1.085 MB / 1.239 GB, free: 97.5 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/2.377, allocations: 0 / 1.239 GB, free: 97.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.02731/2.405, allocations: 18.89 MB / 1.257 GB, free: 78.73 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)