Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") [: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.001813/0.001813, allocations: 191.4 kB / 8.135 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.176/1.176, 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.001802/0.001802, allocations: 120.3 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.144e-06/7.244e-06, allocations: 0 / 297.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07508/0.07511, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.996/4.071, allocations: 2.575 GB / 2.909 GB, free: 105.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/4.072, allocations: 88.72 kB / 2.909 GB, free: 105.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.094/5.166, allocations: 426.5 MB / 3.326 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/5.166, allocations: 8.188 kB / 3.326 GB, free: 0.9141 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003964/5.17, allocations: 1.259 MB / 3.327 GB, free: 15.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/5.17, allocations: 11.97 kB / 3.327 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/5.171, allocations: 167.3 kB / 3.327 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/5.172, allocations: 328 kB / 3.328 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/5.172, allocations: 16 kB / 3.328 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/5.172, allocations: 20 kB / 3.328 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005864/5.173, allocations: 301.2 kB / 3.328 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/5.173, allocations: 365.5 kB / 3.328 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/5.173, allocations: 4 kB / 3.328 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/5.173, allocations: 0 / 3.328 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/5.173, allocations: 8 kB / 3.328 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003153/5.176, allocations: 2.577 MB / 3.331 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/5.177, allocations: 173.9 kB / 3.331 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/5.177, allocations: 113.4 kB / 3.331 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008574/5.178, allocations: 0.5635 MB / 3.332 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/5.178, allocations: 46.47 kB / 3.332 GB, free: 10.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/5.178, allocations: 0 / 3.332 GB, free: 10.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002948/5.181, allocations: 0.9583 MB / 3.333 GB, free: 9.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/5.181, allocations: 55.41 kB / 3.333 GB, free: 9.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/5.181, allocations: 195.1 kB / 3.333 GB, free: 9.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/5.181, allocations: 25.7 kB / 3.333 GB, free: 9.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/5.181, allocations: 168 kB / 3.333 GB, free: 9.152 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/5.181, allocations: 106.5 kB / 3.333 GB, free: 9.047 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/5.181, allocations: 0 / 3.333 GB, free: 9.047 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/5.182, allocations: 346 kB / 3.333 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/5.182, allocations: 108.8 kB / 3.333 GB, free: 8.598 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/5.182, allocations: 194.5 kB / 3.334 GB, free: 8.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/5.182, allocations: 123.9 kB / 3.334 GB, free: 8.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/5.182, allocations: 7.812 kB / 3.334 GB, free: 8.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001697/5.184, allocations: 0.5498 MB / 3.334 GB, free: 7.684 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/5.184, allocations: 4.781 kB / 3.334 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/5.184, allocations: 7.984 kB / 3.334 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/5.185, allocations: 78.33 kB / 3.334 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/5.185, allocations: 95.81 kB / 3.335 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/5.187, allocations: 2.368 MB / 3.337 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/5.187, allocations: 67.61 kB / 3.337 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/5.187, allocations: 19.98 kB / 3.337 GB, free: 4.891 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000111/5.188, allocations: 112.9 kB / 3.337 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000488/5.188, allocations: 131.6 kB / 3.337 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/5.189, allocations: 0.9784 MB / 3.338 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/5.189, allocations: 11.98 kB / 3.338 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/5.189, allocations: 0 / 3.338 GB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/5.191, allocations: 1.083 MB / 3.339 GB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/5.193, allocations: 1.564 MB / 3.341 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/5.193, allocations: 4 kB / 3.341 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/5.193, allocations: 83.59 kB / 3.341 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002539/5.193, allocations: 64.7 kB / 3.341 GB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/5.193, allocations: 10.97 kB / 3.341 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004256/5.194, allocations: 0.6263 MB / 3.341 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/5.194, allocations: 3.938 kB / 3.341 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1162/5.31, allocations: 1.13 MB / 3.343 GB, free: 79.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/5.31, allocations: 135 kB / 3.343 GB, free: 79.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/5.31, allocations: 3.469 kB / 3.343 GB, free: 79.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/5.311, allocations: 38.42 kB / 3.343 GB, free: 79.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/5.311, allocations: 36.83 kB / 3.343 GB, free: 79.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/5.311, allocations: 22.47 kB / 3.343 GB, free: 79.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001947/5.311, allocations: 209.8 kB / 3.343 GB, free: 79.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003702/5.315, allocations: 0.8786 MB / 3.344 GB, free: 79.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 6 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005907/5.321, allocations: 1.479 MB / 3.345 GB, free: 79.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009424/5.322, allocations: 0.6055 MB / 3.346 GB, free: 79.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/5.322, allocations: 0 / 3.346 GB, free: 79.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005648/5.322, allocations: 437 kB / 3.346 GB, free: 79.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/5.323, allocations: 133.2 kB / 3.346 GB, free: 79.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/5.324, allocations: 0.8186 MB / 3.347 GB, free: 78.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/5.325, allocations: 0.8755 MB / 3.348 GB, free: 78.23 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/5.325, allocations: 0 / 3.348 GB, free: 78.23 MB / 410.7 MB Notification: Performance of Templates: time 0.03557/5.36, allocations: 29.58 MB / 3.377 GB, free: 77.95 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1)