Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") [: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.00151/0.00151, allocations: 192.1 kB / 8.141 MB, free: 2.18 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.115/1.115, allocations: 194.2 MB / 202.8 MB, free: 8.672 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.001875/0.001875, allocations: 111.3 kB / 247.7 MB, free: 6.422 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/7.083e-06, allocations: 0 / 297.6 MB, free: 8.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07298/0.07301, allocations: 44.49 MB / 342.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5473/0.6204, allocations: 333.1 MB / 0.6594 GB, free: 7.723 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.6207, allocations: 88.67 kB / 0.6594 GB, free: 7.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.289/0.9097, allocations: 87.06 MB / 0.7445 GB, free: 96.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.9097, allocations: 4 kB / 0.7445 GB, free: 96.95 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006033/0.9103, allocations: 0.5379 MB / 0.745 GB, free: 96.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.9104, allocations: 8.031 kB / 0.745 GB, free: 96.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.9107, allocations: 39.7 kB / 0.745 GB, free: 96.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.911, allocations: 286.4 kB / 0.7453 GB, free: 96.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.911, allocations: 11.91 kB / 0.7453 GB, free: 96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.9111, allocations: 16 kB / 0.7453 GB, free: 95.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002971/0.9114, allocations: 180.9 kB / 0.7455 GB, free: 95.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.9118, allocations: 251.5 kB / 0.7457 GB, free: 95.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.9118, allocations: 3.984 kB / 0.7458 GB, free: 95.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.9118, allocations: 3.938 kB / 0.7458 GB, free: 95.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.9118, allocations: 8 kB / 0.7458 GB, free: 95.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.9132, allocations: 1.221 MB / 0.747 GB, free: 94.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.9134, allocations: 118.2 kB / 0.7471 GB, free: 94.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.9135, allocations: 81.23 kB / 0.7471 GB, free: 94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.9136, allocations: 170.4 kB / 0.7473 GB, free: 93.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.9137, allocations: 34.75 kB / 0.7473 GB, free: 93.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.9137, allocations: 0 / 0.7473 GB, free: 93.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.001796/0.9155, allocations: 0.796 MB / 0.7481 GB, free: 92.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.322e-05/0.9155, allocations: 55.41 kB / 0.7482 GB, free: 92.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.9157, allocations: 203 kB / 0.7484 GB, free: 92.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.9157, allocations: 25.7 kB / 0.7484 GB, free: 92.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.942e-05/0.9158, allocations: 167.8 kB / 0.7485 GB, free: 92.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.9158, allocations: 90.66 kB / 0.7486 GB, free: 92.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.9158, allocations: 0 / 0.7486 GB, free: 92.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.9159, allocations: 334.8 kB / 0.749 GB, free: 91.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.916, allocations: 67.94 kB / 0.749 GB, free: 91.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.9162, allocations: 175.8 kB / 0.7492 GB, free: 91.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.9164, allocations: 101.1 kB / 0.7493 GB, free: 91.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.9164, allocations: 0 / 0.7493 GB, free: 91.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005848/0.917, allocations: 408.3 kB / 0.7497 GB, free: 91.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.917, allocations: 4 kB / 0.7497 GB, free: 91.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.9171, allocations: 4 kB / 0.7497 GB, free: 91.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.9172, allocations: 46.11 kB / 0.7497 GB, free: 91.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.9176, allocations: 75.89 kB / 0.7498 GB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.9188, allocations: 2.437 MB / 0.7522 GB, free: 88.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.919, allocations: 19.89 kB / 0.7522 GB, free: 88.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.9191, allocations: 16 kB / 0.7522 GB, free: 88.35 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.9192, allocations: 118.5 kB / 0.7523 GB, free: 88.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.9193, allocations: 27.7 kB / 0.7524 GB, free: 88.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/0.9197, allocations: 338.3 kB / 0.7527 GB, free: 87.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.9198, allocations: 0 / 0.7527 GB, free: 87.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.9198, allocations: 4 kB / 0.7527 GB, free: 87.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003862/0.9202, allocations: 0.5993 MB / 0.7533 GB, free: 87.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007803/0.921, allocations: 0.6926 MB / 0.7539 GB, free: 86.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.921, allocations: 0 / 0.7539 GB, free: 86.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.9213, allocations: 55.91 kB / 0.754 GB, free: 86.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.344e-05/0.9214, allocations: 28.86 kB / 0.754 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.9214, allocations: 4 kB / 0.754 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005274/0.9219, allocations: 1.216 MB / 0.7552 GB, free: 84.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.922, allocations: 0 / 0.7552 GB, free: 84.96 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005067/0.9225, allocations: 0.4968 MB / 0.7557 GB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.9225, allocations: 100.8 kB / 0.7558 GB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.9226, allocations: 3.906 kB / 0.7558 GB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.9229, allocations: 15.92 kB / 0.7558 GB, free: 84.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.9229, allocations: 11.98 kB / 0.7558 GB, free: 84.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.923, allocations: 15.98 kB / 0.7558 GB, free: 84.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001001/0.9231, allocations: 153.6 kB / 0.756 GB, free: 84.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000461/0.9235, allocations: 116 kB / 0.7561 GB, free: 83.99 MB / 410.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): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002924/0.9238, allocations: 251.7 kB / 0.7563 GB, free: 83.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004595/0.9243, allocations: 409.4 kB / 0.7567 GB, free: 83.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9243, allocations: 0 / 0.7567 GB, free: 83.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.9245, allocations: 201.6 kB / 0.7569 GB, free: 83.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.9253, allocations: 131.4 kB / 0.757 GB, free: 83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007542/0.926, allocations: 459.7 kB / 0.7575 GB, free: 82.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.9263, allocations: 0.8039 MB / 0.7583 GB, free: 81.7 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.9263, allocations: 0 / 0.7583 GB, free: 81.7 MB / 410.7 MB Notification: Performance of Templates: time 0.009759/0.9361, allocations: 6.234 MB / 0.7644 GB, free: 75.51 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)