Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [: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.3+maint.om/package.mo): time 0.002143/0.002143, allocations: 183.7 kB / 8.479 MB, free: 1.875 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.2 MB / 214.1 MB, free: 5.105 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009849/0.0009848, allocations: 87.66 kB / 262.1 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1967/0.1978, allocations: 52.98 MB / 315.1 MB, free: 41.4 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0855/0.2833, allocations: 47.58 MB / 362.7 MB, free: 9.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8871/1.17, allocations: 437.2 MB / 0.7811 GB, free: 135.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/1.171, allocations: 95.94 kB / 0.7812 GB, free: 135.3 MB / 426.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.5134/1.684, allocations: 141.6 MB / 0.9194 GB, free: 98.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.684, allocations: 12.48 kB / 0.9194 GB, free: 98.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004121/1.685, allocations: 48.3 kB / 0.9195 GB, free: 98.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/1.685, allocations: 275.4 kB / 0.9198 GB, free: 98.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/1.685, allocations: 10.38 kB / 0.9198 GB, free: 98.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/1.685, allocations: 12.06 kB / 0.9198 GB, free: 98.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003467/1.686, allocations: 180.6 kB / 0.9199 GB, free: 98.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/1.686, allocations: 276.5 kB / 0.9202 GB, free: 98.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.686, allocations: 0 / 0.9202 GB, free: 98.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.547e-05/1.686, allocations: 1.594 kB / 0.9202 GB, free: 98.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/1.686, allocations: 7.594 kB / 0.9202 GB, free: 98.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/1.688, allocations: 1.567 MB / 0.9218 GB, free: 97.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/1.688, allocations: 104.7 kB / 0.9219 GB, free: 97.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/1.688, allocations: 87.59 kB / 0.9219 GB, free: 97.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/1.688, allocations: 3.938 kB / 0.9219 GB, free: 97.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/1.688, allocations: 34.41 kB / 0.922 GB, free: 97.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.384e-06/1.688, allocations: 0 / 0.922 GB, free: 97.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.004403/1.693, allocations: 0.9679 MB / 0.9229 GB, free: 97.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/1.693, allocations: 59.19 kB / 0.923 GB, free: 96.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/1.693, allocations: 203.1 kB / 0.9232 GB, free: 96.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/1.693, allocations: 28.7 kB / 0.9232 GB, free: 96.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/1.693, allocations: 171.2 kB / 0.9234 GB, free: 96.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.638e-05/1.693, allocations: 83.38 kB / 0.9234 GB, free: 96.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/1.693, allocations: 2.562 kB / 0.9234 GB, free: 96.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.897e-05/1.694, allocations: 335 kB / 0.9238 GB, free: 96.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/1.694, allocations: 75.88 kB / 0.9238 GB, free: 96.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/1.694, allocations: 179.6 kB / 0.924 GB, free: 96.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/1.694, allocations: 106 kB / 0.9241 GB, free: 96.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.694, allocations: 2.812 kB / 0.9241 GB, free: 96.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006091/1.695, allocations: 357.1 kB / 0.9244 GB, free: 96.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.695, allocations: 10.03 kB / 0.9245 GB, free: 96.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.695, allocations: 7.25 kB / 0.9245 GB, free: 96.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/1.695, allocations: 60.42 kB / 0.9245 GB, free: 96.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/1.695, allocations: 88.38 kB / 0.9246 GB, free: 96.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/1.696, allocations: 1.807 MB / 0.9264 GB, free: 94.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/1.697, allocations: 16.95 kB / 0.9264 GB, free: 94.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/1.697, allocations: 43.97 kB / 0.9264 GB, free: 94.46 MB / 426.7 MB 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001507/1.697, allocations: 112.9 kB / 0.9265 GB, free: 94.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/1.697, allocations: 24.97 kB / 0.9266 GB, free: 94.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009184/1.698, allocations: 391.2 kB / 0.9269 GB, free: 94.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.698, allocations: 3.938 kB / 0.9269 GB, free: 94.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.698, allocations: 3.594 kB / 0.9269 GB, free: 94.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003984/1.698, allocations: 0.5387 MB / 0.9275 GB, free: 93.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009871/1.699, allocations: 0.6629 MB / 0.9281 GB, free: 93.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.7, allocations: 0 / 0.9281 GB, free: 93.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/1.7, allocations: 72.02 kB / 0.9282 GB, free: 93.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/1.7, allocations: 24.72 kB / 0.9282 GB, free: 93.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/1.7, allocations: 8.203 kB / 0.9282 GB, free: 93.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006691/1.701, allocations: 1.228 MB / 0.9294 GB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.701, allocations: 0 / 0.9294 GB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006268/1.701, allocations: 473.8 kB / 0.9299 GB, free: 92.12 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008565/1.702, allocations: 0.9568 MB / 0.9308 GB, free: 91.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/1.702, allocations: 99.95 kB / 0.9309 GB, free: 91.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/1.702, allocations: 7.562 kB / 0.9309 GB, free: 91.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/1.703, allocations: 10.91 kB / 0.9309 GB, free: 91.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/1.703, allocations: 22.94 kB / 0.9309 GB, free: 91.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/1.703, allocations: 30.61 kB / 0.931 GB, free: 91.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000139/1.703, allocations: 153.1 kB / 0.9311 GB, free: 91.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001519/1.705, allocations: 232.5 kB / 0.9313 GB, free: 91.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001325/1.706, allocations: 0.906 MB / 0.9322 GB, free: 91.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000745/1.707, allocations: 342.1 kB / 0.9325 GB, free: 91.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.707, allocations: 0 / 0.9325 GB, free: 91.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/1.707, allocations: 217.8 kB / 0.9327 GB, free: 91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/1.708, allocations: 113.7 kB / 0.9329 GB, free: 90.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/1.709, allocations: 486.8 kB / 0.9333 GB, free: 90.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006495/1.71, allocations: 0.873 MB / 0.9342 GB, free: 90.13 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/1.71, allocations: 0 / 0.9342 GB, free: 90.13 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)