Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.00111/0.00111, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 90 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 45.14 MB / 383.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.523e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.555/1.704, allocations: 0.522 GB / 1.026 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/1.705, allocations: 95.78 kB / 1.026 GB, free: 143 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.8255/2.53, allocations: 205.8 MB / 1.227 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000102/2.53, allocations: 19.16 kB / 1.227 GB, free: 119.3 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.003788/2.534, allocations: 1.046 MB / 1.228 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/2.534, allocations: 7.906 kB / 1.228 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/2.535, allocations: 134 kB / 1.228 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/2.537, allocations: 0.5439 MB / 1.228 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/2.537, allocations: 86.28 kB / 1.229 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/2.537, allocations: 30.81 kB / 1.229 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001032/2.538, allocations: 0.5457 MB / 1.229 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/2.539, allocations: 0.7427 MB / 1.23 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/2.539, allocations: 0 / 1.23 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/2.54, allocations: 1.812 kB / 1.23 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.975e-05/2.54, allocations: 46.94 kB / 1.23 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005015/2.545, allocations: 4.121 MB / 1.234 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/2.545, allocations: 200.2 kB / 1.234 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/2.545, allocations: 135.8 kB / 1.234 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.336e-05/2.545, allocations: 86.92 kB / 1.234 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/2.545, allocations: 45.45 kB / 1.234 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.447e-06/2.545, allocations: 7.875 kB / 1.234 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.005407/2.551, allocations: 1.388 MB / 1.236 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/2.551, allocations: 141.5 kB / 1.236 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/2.552, allocations: 459.8 kB / 1.236 GB, free: 113 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/2.552, allocations: 25.7 kB / 1.236 GB, free: 113 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/2.552, allocations: 340.8 kB / 1.237 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/2.552, allocations: 122.9 kB / 1.237 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/2.552, allocations: 0 / 1.237 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001263/2.552, allocations: 364.2 kB / 1.237 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/2.552, allocations: 187.7 kB / 1.237 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/2.553, allocations: 495.1 kB / 1.238 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006279/2.554, allocations: 321.2 kB / 1.238 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/2.554, allocations: 2.594 kB / 1.238 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001538/2.555, allocations: 0.8025 MB / 1.239 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/2.555, allocations: 7.906 kB / 1.239 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/2.555, allocations: 9.656 kB / 1.239 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/2.556, allocations: 281.4 kB / 1.239 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/2.557, allocations: 119.5 kB / 1.239 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/2.558, allocations: 0.9675 MB / 1.24 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/2.559, allocations: 35.97 kB / 1.24 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/2.559, allocations: 66.06 kB / 1.24 GB, free: 110.6 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.0001912/2.559, allocations: 133.8 kB / 1.24 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/2.559, allocations: 57.81 kB / 1.24 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/2.561, allocations: 0.7398 MB / 1.241 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/2.561, allocations: 3.781 kB / 1.241 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/2.561, allocations: 2.844 kB / 1.241 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/2.561, allocations: 7.406 kB / 1.241 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/2.563, allocations: 0.9949 MB / 1.242 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/2.563, allocations: 0.9062 kB / 1.242 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/2.564, allocations: 190.5 kB / 1.242 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001/2.564, allocations: 21.42 kB / 1.242 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/2.564, allocations: 13.11 kB / 1.242 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/2.566, allocations: 2.578 MB / 1.245 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.566, allocations: 3.938 kB / 1.245 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001233/2.568, allocations: 0.6834 MB / 1.246 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003679/2.568, allocations: 177.8 kB / 1.246 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/2.568, allocations: 2.188 kB / 1.246 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/2.569, allocations: 22.62 kB / 1.246 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/2.569, allocations: 31.25 kB / 1.246 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.724e-05/2.569, allocations: 39.73 kB / 1.246 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.000617/2.57, allocations: 339.9 kB / 1.246 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001784/2.571, allocations: 300.4 kB / 1.246 GB, free: 106.4 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.00275/2.574, allocations: 1.092 MB / 1.248 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00124/2.575, allocations: 0.4896 MB / 1.248 GB, free: 106 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/2.575, allocations: 2.297 kB / 1.248 GB, free: 106 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/2.577, allocations: 415.6 kB / 1.248 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/2.578, allocations: 225.1 kB / 1.249 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/2.58, allocations: 0.8733 MB / 1.249 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/2.582, allocations: 1.089 MB / 1.251 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/2.582, allocations: 0 / 1.251 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.0471/2.629, allocations: 18.91 MB / 1.269 GB, free: 97.86 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)