Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.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.002139/0.002139, allocations: 192.8 kB / 8.136 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.143/1.143, allocations: 194.2 MB / 202.8 MB, free: 8.676 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.001865/0.001865, allocations: 116.5 kB / 247.7 MB, free: 6.402 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.781e-06/5.831e-06, allocations: 0 / 297.6 MB, free: 8.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06972/0.06974, allocations: 44.49 MB / 342 MB, free: 11.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.119/5.189, allocations: 3.698 GB / 4.032 GB, free: 109.6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/5.189, allocations: 65.09 kB / 4.032 GB, free: 109.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.1043/5.294, allocations: 48.12 MB / 4.079 GB, free: 61.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/5.294, allocations: 7.938 kB / 4.079 GB, free: 61.57 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.001554/5.295, allocations: 0.6446 MB / 4.08 GB, free: 60.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/5.295, allocations: 8.031 kB / 4.08 GB, free: 60.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/5.295, allocations: 23.8 kB / 4.08 GB, free: 60.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/5.296, allocations: 202.9 kB / 4.08 GB, free: 60.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/5.296, allocations: 4 kB / 4.08 GB, free: 60.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/5.296, allocations: 12 kB / 4.08 GB, free: 60.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003518/5.296, allocations: 224.4 kB / 4.08 GB, free: 60.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/5.296, allocations: 217.2 kB / 4.081 GB, free: 60.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/5.296, allocations: 7.984 kB / 4.081 GB, free: 60.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/5.296, allocations: 0 / 4.081 GB, free: 60.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/5.297, allocations: 4 kB / 4.081 GB, free: 60.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/5.298, allocations: 0.6413 MB / 4.081 GB, free: 59.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/5.298, allocations: 177.3 kB / 4.081 GB, free: 59.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/5.298, allocations: 109.7 kB / 4.082 GB, free: 59.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/5.299, allocations: 364.3 kB / 4.082 GB, free: 58.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/5.299, allocations: 38.56 kB / 4.082 GB, free: 58.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.804e-06/5.299, allocations: 0 / 4.082 GB, free: 58.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001588/5.3, allocations: 497.8 kB / 4.082 GB, free: 58.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/5.3, allocations: 81.3 kB / 4.083 GB, free: 58.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/5.3, allocations: 111.8 kB / 4.083 GB, free: 57.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/5.3, allocations: 25.7 kB / 4.083 GB, free: 57.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/5.3, allocations: 108.6 kB / 4.083 GB, free: 57.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/5.3, allocations: 122.1 kB / 4.083 GB, free: 57.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/5.3, allocations: 4 kB / 4.083 GB, free: 57.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.269e-05/5.3, allocations: 334.8 kB / 4.083 GB, free: 57.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/5.301, allocations: 99.98 kB / 4.083 GB, free: 57.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/5.301, allocations: 179.4 kB / 4.083 GB, free: 57.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/5.301, allocations: 140.8 kB / 4.084 GB, free: 56.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/5.301, allocations: 7.984 kB / 4.084 GB, free: 56.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005951/5.302, allocations: 343.5 kB / 4.084 GB, free: 56.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/5.302, allocations: 4 kB / 4.084 GB, free: 56.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/5.302, allocations: 4.219 kB / 4.084 GB, free: 56.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/5.302, allocations: 8 kB / 4.084 GB, free: 56.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/5.302, allocations: 91.81 kB / 4.084 GB, free: 56.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/5.302, allocations: 11.89 kB / 4.084 GB, free: 56.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/5.303, allocations: 15.98 kB / 4.084 GB, free: 56.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/5.303, allocations: 15.98 kB / 4.084 GB, free: 56.43 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.369e-05/5.303, allocations: 124.5 kB / 4.084 GB, free: 56.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/5.303, allocations: 15.81 kB / 4.084 GB, free: 56.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00048/5.303, allocations: 190.2 kB / 4.084 GB, free: 56.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/5.303, allocations: 4 kB / 4.084 GB, free: 56.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/5.303, allocations: 0 / 4.084 GB, free: 56.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/5.303, allocations: 3.984 kB / 4.084 GB, free: 56.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/5.305, allocations: 0.651 MB / 4.085 GB, free: 55.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/5.305, allocations: 11.89 kB / 4.085 GB, free: 55.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/5.305, allocations: 71.89 kB / 4.085 GB, free: 55.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/5.305, allocations: 5.406 kB / 4.085 GB, free: 55.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/5.305, allocations: 11.98 kB / 4.085 GB, free: 55.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/5.305, allocations: 4 kB / 4.085 GB, free: 55.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/5.305, allocations: 8.156 kB / 4.085 GB, free: 55.26 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000755/5.306, allocations: 0.7021 MB / 4.086 GB, free: 54.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/5.306, allocations: 124.8 kB / 4.086 GB, free: 54.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/5.306, allocations: 3.938 kB / 4.086 GB, free: 54.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/5.306, allocations: 24.05 kB / 4.086 GB, free: 54.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/5.307, allocations: 19.97 kB / 4.086 GB, free: 54.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/5.307, allocations: 15.98 kB / 4.086 GB, free: 54.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.294e-05/5.307, allocations: 97.33 kB / 4.086 GB, free: 54.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006129/5.307, allocations: 163.9 kB / 4.086 GB, free: 54.04 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 (38): * Single equations (assignments): 38 * 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.0009662/5.308, allocations: 0.746 MB / 4.087 GB, free: 53.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004271/5.309, allocations: 279.7 kB / 4.087 GB, free: 53.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/5.309, allocations: 0 / 4.087 GB, free: 53.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/5.309, allocations: 151.6 kB / 4.087 GB, free: 52.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/5.309, allocations: 87.55 kB / 4.088 GB, free: 52.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/5.31, allocations: 461.2 kB / 4.088 GB, free: 52.29 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/5.311, allocations: 0.7881 MB / 4.089 GB, free: 51.48 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/5.311, allocations: 0 / 4.089 GB, free: 51.48 MB / 394.7 MB Notification: Performance of Templates: time 0.01267/5.324, allocations: 9.136 MB / 4.098 GB, free: 42.37 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe 2>&1)