Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",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.001576/0.001576, allocations: 183.7 kB / 8.478 MB, free: 1.859 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.303/1.303, allocations: 205.2 MB / 214.1 MB, free: 13.84 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.0009379/0.0009379, allocations: 94.66 kB / 262.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1055/0.1065, allocations: 53 MB / 315.1 MB, free: 8.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.3318, allocations: 47.56 MB / 362.6 MB, free: 45.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6695/1.001, allocations: 438 MB / 0.7819 GB, free: 41.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/1.002, allocations: 99.05 kB / 0.782 GB, free: 41.32 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.4695/1.471, allocations: 153.5 MB / 0.9319 GB, free: 68.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/1.471, allocations: 8 kB / 0.9319 GB, free: 68.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/1.472, allocations: 43.61 kB / 0.9319 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/1.472, allocations: 282.5 kB / 0.9322 GB, free: 67.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/1.472, allocations: 12 kB / 0.9322 GB, free: 67.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/1.472, allocations: 16 kB / 0.9322 GB, free: 67.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003046/1.472, allocations: 176.9 kB / 0.9324 GB, free: 67.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/1.473, allocations: 269.9 kB / 0.9327 GB, free: 67.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/1.473, allocations: 0 / 0.9327 GB, free: 67.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/1.473, allocations: 4 kB / 0.9327 GB, free: 67.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.473, allocations: 11.98 kB / 0.9327 GB, free: 67.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/1.474, allocations: 1.573 MB / 0.9342 GB, free: 65.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/1.475, allocations: 105.7 kB / 0.9343 GB, free: 65.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/1.475, allocations: 76.84 kB / 0.9344 GB, free: 65.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/1.475, allocations: 0 / 0.9344 GB, free: 65.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/1.475, allocations: 46.56 kB / 0.9344 GB, free: 65.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/1.475, allocations: 0 / 0.9344 GB, free: 65.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.004168/1.479, allocations: 0.9601 MB / 0.9354 GB, free: 64.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/1.479, allocations: 55.41 kB / 0.9354 GB, free: 64.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/1.479, allocations: 203.8 kB / 0.9356 GB, free: 63.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/1.479, allocations: 25.7 kB / 0.9356 GB, free: 63.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/1.479, allocations: 175.7 kB / 0.9358 GB, free: 63.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/1.479, allocations: 82.75 kB / 0.9359 GB, free: 63.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/1.479, allocations: 0 / 0.9359 GB, free: 63.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/1.479, allocations: 334.8 kB / 0.9362 GB, free: 63.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/1.48, allocations: 76 kB / 0.9363 GB, free: 63.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/1.48, allocations: 187.7 kB / 0.9364 GB, free: 63.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/1.48, allocations: 111.9 kB / 0.9366 GB, free: 62.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.48, allocations: 3.938 kB / 0.9366 GB, free: 62.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005485/1.48, allocations: 354.8 kB / 0.9369 GB, free: 62.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.48, allocations: 4 kB / 0.9369 GB, free: 62.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.481, allocations: 4 kB / 0.9369 GB, free: 62.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002088/1.481, allocations: 66.09 kB / 0.937 GB, free: 62.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/1.481, allocations: 87.83 kB / 0.937 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/1.482, allocations: 1.808 MB / 0.9388 GB, free: 60.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/1.482, allocations: 23.83 kB / 0.9388 GB, free: 60.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/1.483, allocations: 40.19 kB / 0.9389 GB, free: 60.4 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.000134/1.483, allocations: 109.6 kB / 0.939 GB, free: 60.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/1.483, allocations: 23.72 kB / 0.939 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008364/1.484, allocations: 400.4 kB / 0.9394 GB, free: 59.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.484, allocations: 4 kB / 0.9394 GB, free: 59.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.484, allocations: 0 / 0.9394 GB, free: 59.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003651/1.484, allocations: 0.5318 MB / 0.9399 GB, free: 59.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/1.485, allocations: 0.6613 MB / 0.9406 GB, free: 58.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.485, allocations: 0 / 0.9406 GB, free: 58.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/1.485, allocations: 71.89 kB / 0.9406 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.099e-05/1.485, allocations: 20.84 kB / 0.9406 GB, free: 58.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/1.485, allocations: 11.98 kB / 0.9407 GB, free: 58.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006075/1.486, allocations: 1.225 MB / 0.9419 GB, free: 57.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.486, allocations: 3.969 kB / 0.9419 GB, free: 57.07 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005172/1.486, allocations: 473.7 kB / 0.9423 GB, free: 56.57 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008/1.487, allocations: 0.975 MB / 0.9433 GB, free: 55.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.499e-05/1.487, allocations: 96.83 kB / 0.9434 GB, free: 55.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/1.487, allocations: 0 / 0.9434 GB, free: 55.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/1.488, allocations: 11.98 kB / 0.9434 GB, free: 55.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/1.488, allocations: 31.97 kB / 0.9434 GB, free: 55.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/1.488, allocations: 27.98 kB / 0.9434 GB, free: 55.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001313/1.488, allocations: 156.5 kB / 0.9436 GB, free: 55.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001391/1.489, allocations: 227.8 kB / 0.9438 GB, free: 55 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.001231/1.491, allocations: 0.9043 MB / 0.9447 GB, free: 54.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006579/1.491, allocations: 338 kB / 0.945 GB, free: 53.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.491, allocations: 0 / 0.945 GB, free: 53.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/1.492, allocations: 213.7 kB / 0.9452 GB, free: 53.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007018/1.492, allocations: 121.2 kB / 0.9453 GB, free: 53.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/1.493, allocations: 486.9 kB / 0.9458 GB, free: 52.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/1.494, allocations: 0.8689 MB / 0.9466 GB, free: 52 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/1.494, allocations: 0 / 0.9466 GB, free: 52 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1)