Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.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) 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(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1") [: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.005724/0.005724, allocations: 180.7 kB / 7.455 MB, free: 2.504 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.421/1.421, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001646/0.001646, allocations: 119.8 kB / 217.7 MB, free: 8.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.743e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.09787, allocations: 38.76 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.668/1.766, allocations: 0.63 GB / 0.9235 GB, free: 45.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003399/1.766, allocations: 74.59 kB / 0.9236 GB, free: 45.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.682/3.448, allocations: 461.5 MB / 1.374 GB, free: 70.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.851e-05/3.449, allocations: 10.02 kB / 1.374 GB, free: 70.09 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001938/3.45, allocations: 0.7171 MB / 1.375 GB, free: 69.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/3.451, allocations: 7.844 kB / 1.375 GB, free: 69.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000579/3.451, allocations: 58.22 kB / 1.375 GB, free: 69.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/3.452, allocations: 282.5 kB / 1.375 GB, free: 69.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/3.452, allocations: 7.812 kB / 1.375 GB, free: 69.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/3.452, allocations: 15.75 kB / 1.375 GB, free: 69.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003498/3.452, allocations: 179.4 kB / 1.375 GB, free: 69.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/3.452, allocations: 293.1 kB / 1.376 GB, free: 69.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/3.452, allocations: 3.375 kB / 1.376 GB, free: 69.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/3.452, allocations: 0 / 1.376 GB, free: 69.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/3.452, allocations: 6.781 kB / 1.376 GB, free: 69.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/3.464, allocations: 5.483 MB / 1.381 GB, free: 66.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/3.464, allocations: 116.2 kB / 1.381 GB, free: 66.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/3.465, allocations: 78.89 kB / 1.381 GB, free: 66.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009229/3.474, allocations: 3.526 MB / 1.385 GB, free: 64.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/3.474, allocations: 34.41 kB / 1.385 GB, free: 64.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.807e-06/3.474, allocations: 0 / 1.385 GB, free: 64.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.003197/3.477, allocations: 0.8886 MB / 1.386 GB, free: 64.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/3.477, allocations: 62.5 kB / 1.386 GB, free: 64.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/3.478, allocations: 191.1 kB / 1.386 GB, free: 64.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/3.478, allocations: 25.7 kB / 1.386 GB, free: 64.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/3.478, allocations: 181.8 kB / 1.386 GB, free: 63.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/3.478, allocations: 84.28 kB / 1.386 GB, free: 63.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/3.478, allocations: 1.5 kB / 1.386 GB, free: 63.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/3.478, allocations: 335 kB / 1.386 GB, free: 63.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/3.478, allocations: 88.75 kB / 1.387 GB, free: 63.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/3.478, allocations: 178.8 kB / 1.387 GB, free: 63.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/3.479, allocations: 153.9 kB / 1.387 GB, free: 63.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/3.479, allocations: 0 / 1.387 GB, free: 63.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009324/3.48, allocations: 391.5 kB / 1.387 GB, free: 63.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/3.48, allocations: 6.281 kB / 1.387 GB, free: 63.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/3.48, allocations: 7.75 kB / 1.387 GB, free: 63.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002903/3.48, allocations: 71.41 kB / 1.387 GB, free: 63.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/3.48, allocations: 69.44 kB / 1.387 GB, free: 63.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/3.482, allocations: 1.856 MB / 1.389 GB, free: 61.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/3.482, allocations: 18 kB / 1.389 GB, free: 61.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/3.482, allocations: 15.28 kB / 1.389 GB, free: 61.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001237/3.482, allocations: 117.8 kB / 1.389 GB, free: 61.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/3.482, allocations: 26.34 kB / 1.389 GB, free: 61.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009724/3.483, allocations: 480 kB / 1.39 GB, free: 61.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/3.483, allocations: 0 / 1.39 GB, free: 61.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/3.483, allocations: 3.047 kB / 1.39 GB, free: 61.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008019/3.484, allocations: 0.7115 MB / 1.391 GB, free: 60.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/3.486, allocations: 0.8829 MB / 1.391 GB, free: 60.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/3.486, allocations: 3.844 kB / 1.391 GB, free: 60.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/3.486, allocations: 47.34 kB / 1.391 GB, free: 60.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/3.486, allocations: 91.19 kB / 1.392 GB, free: 60.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/3.486, allocations: 6.844 kB / 1.392 GB, free: 60.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005485/3.487, allocations: 0.694 MB / 1.392 GB, free: 60.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/3.487, allocations: 2.969 kB / 1.392 GB, free: 60.16 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001075/3.488, allocations: 0.7105 MB / 1.393 GB, free: 59.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/3.488, allocations: 104.4 kB / 1.393 GB, free: 59.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/3.488, allocations: 3.812 kB / 1.393 GB, free: 59.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/3.488, allocations: 7.688 kB / 1.393 GB, free: 59.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/3.488, allocations: 11.67 kB / 1.393 GB, free: 59.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/3.488, allocations: 17.34 kB / 1.393 GB, free: 59.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001303/3.488, allocations: 156.1 kB / 1.393 GB, free: 59.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001208/3.49, allocations: 193.7 kB / 1.393 GB, free: 59.76 MB / 346.7 MB 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001547/3.491, allocations: 0.5587 MB / 1.394 GB, free: 59.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007693/3.492, allocations: 415.4 kB / 1.394 GB, free: 59.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/3.492, allocations: 0.75 kB / 1.394 GB, free: 59.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/3.492, allocations: 213.8 kB / 1.395 GB, free: 59.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007622/3.493, allocations: 126.2 kB / 1.395 GB, free: 59.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/3.494, allocations: 0.556 MB / 1.395 GB, free: 59.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/3.495, allocations: 0.8182 MB / 1.396 GB, free: 58.64 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/3.495, allocations: 3.688 kB / 1.396 GB, free: 58.64 MB / 346.7 MB Notification: Performance of Templates: time 0.01721/3.512, allocations: 9.432 MB / 1.405 GB, free: 58.25 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1)