Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",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.0009808/0.0009808, allocations: 181.5 kB / 8.482 MB, free: 1.789 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.119/1.119, allocations: 205.2 MB / 214.1 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009113/0.0009114, allocations: 86.3 kB / 262.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09077/0.09171, allocations: 52.99 MB / 315.1 MB, free: 8.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2985, allocations: 47.56 MB / 362.6 MB, free: 45.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.902/4.201, allocations: 2.741 GB / 3.095 GB, free: 66.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/4.201, allocations: 97.84 kB / 3.095 GB, free: 66.37 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 1.589/5.79, allocations: 425.1 MB / 3.51 GB, free: 37.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/5.79, allocations: 13.28 kB / 3.51 GB, free: 37.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/5.792, allocations: 175 kB / 3.51 GB, free: 37.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/5.792, allocations: 312.8 kB / 3.511 GB, free: 37.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/5.792, allocations: 13.12 kB / 3.511 GB, free: 37.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/5.792, allocations: 17.41 kB / 3.511 GB, free: 37.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004869/5.793, allocations: 248.4 kB / 3.511 GB, free: 37.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/5.793, allocations: 366.1 kB / 3.511 GB, free: 37.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/5.793, allocations: 0 / 3.511 GB, free: 37.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/5.794, allocations: 0 / 3.511 GB, free: 37.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/5.794, allocations: 10.28 kB / 3.511 GB, free: 37.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06792/5.861, allocations: 33.25 MB / 3.544 GB, free: 33.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/5.862, allocations: 152.1 kB / 3.544 GB, free: 33.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/5.862, allocations: 95.77 kB / 3.544 GB, free: 33.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06932/5.931, allocations: 30.91 MB / 3.574 GB, free: 30.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/5.931, allocations: 34.19 kB / 3.574 GB, free: 30.01 MB / 458.7 MB Notification: Performance of pre-optimization done (n=25): time 3.036e-06/5.931, allocations: 0 / 3.574 GB, free: 30.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=29): time 0.003334/5.935, allocations: 0.8734 MB / 3.575 GB, free: 29.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/5.935, allocations: 54.06 kB / 3.575 GB, free: 29.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/5.935, allocations: 218.6 kB / 3.575 GB, free: 29.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/5.935, allocations: 25.7 kB / 3.575 GB, free: 29.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/5.935, allocations: 184 kB / 3.576 GB, free: 29.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/5.936, allocations: 99.53 kB / 3.576 GB, free: 29.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/5.936, allocations: 0 / 3.576 GB, free: 29.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/5.936, allocations: 338.1 kB / 3.576 GB, free: 28.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/5.936, allocations: 86.44 kB / 3.576 GB, free: 28.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/5.936, allocations: 201.4 kB / 3.576 GB, free: 28.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/5.937, allocations: 126.3 kB / 3.576 GB, free: 28.83 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/5.937, allocations: 0 / 3.576 GB, free: 28.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001186/5.938, allocations: 460.6 kB / 3.577 GB, free: 28.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/5.938, allocations: 11.41 kB / 3.577 GB, free: 28.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/5.938, allocations: 11.22 kB / 3.577 GB, free: 28.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/5.938, allocations: 56.42 kB / 3.577 GB, free: 28.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/5.939, allocations: 91.97 kB / 3.577 GB, free: 28.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/5.941, allocations: 2.389 MB / 3.579 GB, free: 26.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/5.941, allocations: 26.73 kB / 3.579 GB, free: 26.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/5.941, allocations: 23.17 kB / 3.579 GB, free: 26.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0001918/5.941, allocations: 118.4 kB / 3.58 GB, free: 26.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004818/5.942, allocations: 137.2 kB / 3.58 GB, free: 26.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/5.943, allocations: 0.8367 MB / 3.581 GB, free: 26.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/5.943, allocations: 10.94 kB / 3.581 GB, free: 26.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/5.943, allocations: 0 / 3.581 GB, free: 26.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009351/5.944, allocations: 1.023 MB / 3.582 GB, free: 25.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/5.946, allocations: 1.406 MB / 3.583 GB, free: 25.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/5.946, allocations: 9.219 kB / 3.583 GB, free: 25.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/5.946, allocations: 52.69 kB / 3.583 GB, free: 25.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/5.946, allocations: 70.62 kB / 3.583 GB, free: 25.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/5.946, allocations: 0 / 3.583 GB, free: 25.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004809/5.947, allocations: 0.6266 MB / 3.584 GB, free: 24.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/5.947, allocations: 0 / 3.584 GB, free: 24.79 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001629/5.948, allocations: 1.061 MB / 3.585 GB, free: 24.56 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002436/5.951, allocations: 1.697 MB / 3.586 GB, free: 23.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/5.951, allocations: 109.9 kB / 3.586 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.145e-05/5.951, allocations: 6.281 kB / 3.586 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/5.951, allocations: 38.06 kB / 3.586 GB, free: 23.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/5.951, allocations: 18.22 kB / 3.586 GB, free: 23.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/5.952, allocations: 16.06 kB / 3.586 GB, free: 23.85 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001985/5.952, allocations: 156.3 kB / 3.587 GB, free: 23.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006355/5.958, allocations: 0.9779 MB / 3.588 GB, free: 23.64 MB / 458.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.h) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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.01046/5.969, allocations: 1.479 MB / 3.589 GB, free: 23.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001771/5.97, allocations: 0.5766 MB / 3.59 GB, free: 23.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/5.97, allocations: 0 / 3.59 GB, free: 23.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005141/5.971, allocations: 377.4 kB / 3.59 GB, free: 23.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/5.972, allocations: 120.1 kB / 3.59 GB, free: 23.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/5.974, allocations: 0.7717 MB / 3.591 GB, free: 22.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/5.975, allocations: 0.8588 MB / 3.592 GB, free: 22.22 MB / 458.7 MB Notification: Performance of SimCode: time 2.575e-06/5.975, allocations: 0 / 3.592 GB, free: 22.22 MB / 458.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)