Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.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) 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(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") [: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.002152/0.002152, allocations: 188.2 kB / 8.138 MB, free: 2.195 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.137/1.137, allocations: 194.2 MB / 202.8 MB, free: 8.734 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.001843/0.001843, allocations: 123.2 kB / 247.7 MB, free: 6.43 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.798e-06/9.899e-06, allocations: 0 / 297.6 MB, free: 8.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 44.5 MB / 342.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9159/1.021, allocations: 0.6352 GB / 0.9693 GB, free: 35.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/1.021, allocations: 78.09 kB / 0.9694 GB, free: 35.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3903/1.411, allocations: 148.9 MB / 1.115 GB, free: 59.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.494e-05/1.412, allocations: 8 kB / 1.115 GB, free: 59.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001168/1.413, allocations: 0.6668 MB / 1.115 GB, free: 59.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/1.413, allocations: 12.03 kB / 1.115 GB, free: 59.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007692/1.414, allocations: 79.62 kB / 1.116 GB, free: 59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/1.414, allocations: 322.3 kB / 1.116 GB, free: 58.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/1.414, allocations: 23.91 kB / 1.116 GB, free: 58.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/1.414, allocations: 24 kB / 1.116 GB, free: 58.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000413/1.414, allocations: 257.4 kB / 1.116 GB, free: 58.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/1.415, allocations: 402.7 kB / 1.117 GB, free: 57.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.415, allocations: 0 / 1.117 GB, free: 57.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/1.415, allocations: 4 kB / 1.117 GB, free: 57.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/1.415, allocations: 8 kB / 1.117 GB, free: 57.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/1.426, allocations: 6.286 MB / 1.123 GB, free: 51.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/1.427, allocations: 173.7 kB / 1.123 GB, free: 50.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/1.427, allocations: 137 kB / 1.123 GB, free: 50.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008798/1.436, allocations: 3.526 MB / 1.126 GB, free: 46.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/1.436, allocations: 38.5 kB / 1.126 GB, free: 46.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.896e-06/1.436, allocations: 4 kB / 1.126 GB, free: 46.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.004423/1.44, allocations: 1.401 MB / 1.128 GB, free: 45.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/1.44, allocations: 59.41 kB / 1.128 GB, free: 45.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/1.441, allocations: 233 kB / 1.128 GB, free: 45.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/1.441, allocations: 25.7 kB / 1.128 GB, free: 45.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/1.441, allocations: 204 kB / 1.128 GB, free: 44.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/1.441, allocations: 157.7 kB / 1.128 GB, free: 44.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/1.441, allocations: 0 / 1.128 GB, free: 44.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.394e-05/1.441, allocations: 346.8 kB / 1.129 GB, free: 44.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/1.441, allocations: 137.3 kB / 1.129 GB, free: 44.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/1.442, allocations: 255.3 kB / 1.129 GB, free: 43.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/1.442, allocations: 256.6 kB / 1.129 GB, free: 43.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.442, allocations: 3.938 kB / 1.129 GB, free: 43.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0015/1.444, allocations: 0.6142 MB / 1.13 GB, free: 43.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.444, allocations: 4 kB / 1.13 GB, free: 43.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.444, allocations: 8 kB / 1.13 GB, free: 43.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004031/1.444, allocations: 110.5 kB / 1.13 GB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/1.445, allocations: 111.8 kB / 1.13 GB, free: 42.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/1.446, allocations: 2.478 MB / 1.133 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/1.447, allocations: 23.94 kB / 1.133 GB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/1.447, allocations: 24.06 kB / 1.133 GB, free: 40.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001306/1.447, allocations: 124.6 kB / 1.133 GB, free: 40.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/1.447, allocations: 31.62 kB / 1.133 GB, free: 40 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/1.449, allocations: 0.8362 MB / 1.134 GB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.449, allocations: 11.84 kB / 1.134 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/1.449, allocations: 0 / 1.134 GB, free: 39.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/1.45, allocations: 0.9386 MB / 1.135 GB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/1.452, allocations: 1.389 MB / 1.136 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.452, allocations: 3.906 kB / 1.136 GB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/1.453, allocations: 75.89 kB / 1.136 GB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005393/1.453, allocations: 185.4 kB / 1.136 GB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/1.453, allocations: 7.984 kB / 1.136 GB, free: 36.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009746/1.454, allocations: 1.374 MB / 1.138 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.454, allocations: 128 / 1.138 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001672/1.456, allocations: 1.206 MB / 1.139 GB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/1.456, allocations: 112.6 kB / 1.139 GB, free: 33.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/1.456, allocations: 8 kB / 1.139 GB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/1.456, allocations: 28.06 kB / 1.139 GB, free: 33.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/1.457, allocations: 23.97 kB / 1.139 GB, free: 33.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/1.457, allocations: 11.98 kB / 1.139 GB, free: 33.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001488/1.457, allocations: 181.2 kB / 1.139 GB, free: 33.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001047/1.458, allocations: 227.8 kB / 1.139 GB, free: 33.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/1.459, allocations: 0.5291 MB / 1.14 GB, free: 32.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/1.46, allocations: 0.6442 MB / 1.14 GB, free: 32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.46, allocations: 0 / 1.14 GB, free: 32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000566/1.461, allocations: 380.5 kB / 1.141 GB, free: 31.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/1.462, allocations: 196 kB / 1.141 GB, free: 31.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/1.464, allocations: 0.9368 MB / 1.142 GB, free: 30.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/1.464, allocations: 0.8865 MB / 1.143 GB, free: 29.57 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/1.464, allocations: 0 / 1.143 GB, free: 29.57 MB / 410.7 MB Notification: Performance of Templates: time 0.01732/1.481, allocations: 11.72 MB / 1.154 GB, free: 17.88 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)