Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") [: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.00107/0.00107, allocations: 190.2 kB / 8.132 MB, free: 2.199 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.087/1.087, allocations: 194.2 MB / 202.8 MB, free: 8.668 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.001804/0.001804, allocations: 116 kB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.045e-06/8.065e-06, allocations: 0 / 297.6 MB, free: 7.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06929/0.06932, allocations: 44.48 MB / 342 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.69/10.76, allocations: 6.61 GB / 6.945 GB, free: 68.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001667/10.76, allocations: 72.41 kB / 6.945 GB, free: 68.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.6293/11.39, allocations: 189.4 MB / 7.13 GB, free: 30.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.214e-05/11.39, allocations: 4 kB / 7.13 GB, free: 30.71 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.008251/11.4, allocations: 1.456 MB / 7.131 GB, free: 29.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/11.4, allocations: 8.031 kB / 7.131 GB, free: 29.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/11.4, allocations: 23.8 kB / 7.131 GB, free: 29.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/11.4, allocations: 222.7 kB / 7.131 GB, free: 28.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/11.4, allocations: 4 kB / 7.131 GB, free: 28.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/11.4, allocations: 12 kB / 7.131 GB, free: 28.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003445/11.4, allocations: 216.5 kB / 7.131 GB, free: 28.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/11.4, allocations: 217.1 kB / 7.132 GB, free: 28.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/11.4, allocations: 0 / 7.132 GB, free: 28.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/11.4, allocations: 3.984 kB / 7.132 GB, free: 28.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/11.4, allocations: 8 kB / 7.132 GB, free: 28.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/11.4, allocations: 0.6497 MB / 7.132 GB, free: 27.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/11.4, allocations: 258.3 kB / 7.133 GB, free: 27.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/11.4, allocations: 114.1 kB / 7.133 GB, free: 27.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/11.41, allocations: 10.1 MB / 7.143 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/11.41, allocations: 38.5 kB / 7.143 GB, free: 15.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 2.735e-06/11.41, allocations: 4 kB / 7.143 GB, free: 15.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002037/11.42, allocations: 0.4976 MB / 7.143 GB, free: 14.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/11.42, allocations: 81.3 kB / 7.143 GB, free: 14.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/11.42, allocations: 121.2 kB / 7.143 GB, free: 14.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/11.42, allocations: 25.7 kB / 7.143 GB, free: 14.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/11.42, allocations: 108.6 kB / 7.143 GB, free: 14.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.397e-05/11.42, allocations: 118.2 kB / 7.143 GB, free: 14.24 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/11.42, allocations: 4 kB / 7.143 GB, free: 14.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.724e-05/11.42, allocations: 326.8 kB / 7.144 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/11.42, allocations: 103.6 kB / 7.144 GB, free: 13.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/11.42, allocations: 179.8 kB / 7.144 GB, free: 13.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/11.42, allocations: 145.3 kB / 7.144 GB, free: 13.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/11.42, allocations: 0 / 7.144 GB, free: 13.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007457/11.42, allocations: 361.2 kB / 7.145 GB, free: 13.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/11.42, allocations: 8 kB / 7.145 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/11.42, allocations: 4 kB / 7.145 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/11.42, allocations: 4 kB / 7.145 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/11.42, allocations: 87.88 kB / 7.145 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/11.42, allocations: 4 kB / 7.145 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/11.42, allocations: 23.83 kB / 7.145 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/11.42, allocations: 23.98 kB / 7.145 GB, free: 12.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.487e-05/11.42, allocations: 112.6 kB / 7.145 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/11.42, allocations: 23.75 kB / 7.145 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/11.42, allocations: 203.2 kB / 7.145 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/11.42, allocations: 7.984 kB / 7.145 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/11.42, allocations: 0 / 7.145 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/11.42, allocations: 4 kB / 7.145 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/11.42, allocations: 0.8612 MB / 7.146 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/11.42, allocations: 8.031 kB / 7.146 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/11.42, allocations: 83.88 kB / 7.146 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/11.42, allocations: 4 kB / 7.146 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/11.42, allocations: 7.984 kB / 7.146 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/11.42, allocations: 7.906 kB / 7.146 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/11.42, allocations: 0 / 7.146 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008797/11.42, allocations: 0.7202 MB / 7.147 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/11.42, allocations: 128.8 kB / 7.147 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/11.42, allocations: 0 / 7.147 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/11.42, allocations: 15.98 kB / 7.147 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/11.42, allocations: 19.97 kB / 7.147 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/11.42, allocations: 20.05 kB / 7.147 GB, free: 10.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.866e-05/11.42, allocations: 103.3 kB / 7.147 GB, free: 10.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00471/11.43, allocations: 1.065 MB / 7.148 GB, free: 9.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008628/11.44, allocations: 1.726 MB / 7.15 GB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005613/11.44, allocations: 276.2 kB / 7.15 GB, free: 7.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/11.44, allocations: 4.062 kB / 7.15 GB, free: 7.516 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002101/11.44, allocations: 151.8 kB / 7.15 GB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/11.44, allocations: 92.42 kB / 7.15 GB, free: 7.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/11.44, allocations: 439.8 kB / 7.151 GB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/11.44, allocations: 0.7916 MB / 7.151 GB, free: 5.996 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/11.44, allocations: 0 / 7.151 GB, free: 5.996 MB / 394.7 MB Notification: Performance of Templates: time 0.1664/11.61, allocations: 34.08 MB / 7.185 GB, free: 79.2 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)