Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",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.001127/0.001127, allocations: 177.6 kB / 8.473 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.431/1.431, allocations: 205.2 MB / 214.1 MB, free: 5.098 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.0009108/0.0009107, allocations: 87.28 kB / 262.1 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2204/0.2214, allocations: 52.98 MB / 315.1 MB, free: 41.39 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08091/0.3023, allocations: 47.58 MB / 362.6 MB, free: 9.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.262/5.564, allocations: 3.067 GB / 3.422 GB, free: 126.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/5.564, allocations: 94.27 kB / 3.422 GB, free: 126.9 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 2.496/8.061, allocations: 0.9752 GB / 4.397 GB, free: 67.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/8.061, allocations: 7.75 kB / 4.397 GB, free: 67.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/8.061, allocations: 46.27 kB / 4.397 GB, free: 67.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/8.062, allocations: 273.1 kB / 4.397 GB, free: 67.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/8.062, allocations: 7.875 kB / 4.397 GB, free: 67.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/8.062, allocations: 15.44 kB / 4.397 GB, free: 67.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002923/8.062, allocations: 166.8 kB / 4.397 GB, free: 67.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/8.062, allocations: 262 kB / 4.398 GB, free: 66.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/8.062, allocations: 7.594 kB / 4.398 GB, free: 66.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/8.062, allocations: 0 / 4.398 GB, free: 66.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/8.062, allocations: 11.75 kB / 4.398 GB, free: 66.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/8.064, allocations: 1.379 MB / 4.399 GB, free: 65.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/8.064, allocations: 109.8 kB / 4.399 GB, free: 65.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/8.064, allocations: 75.83 kB / 4.399 GB, free: 65.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/8.064, allocations: 7.984 kB / 4.399 GB, free: 65.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/8.064, allocations: 37.69 kB / 4.399 GB, free: 65.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/8.064, allocations: 1.781 kB / 4.399 GB, free: 65.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001636/8.066, allocations: 0.7446 MB / 4.4 GB, free: 65.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/8.066, allocations: 51.41 kB / 4.4 GB, free: 65.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/8.066, allocations: 197 kB / 4.4 GB, free: 65.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/8.066, allocations: 25.7 kB / 4.4 GB, free: 65.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/8.066, allocations: 171.3 kB / 4.4 GB, free: 65.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/8.066, allocations: 87.89 kB / 4.4 GB, free: 65.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/8.066, allocations: 0 / 4.4 GB, free: 65.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.095e-05/8.066, allocations: 337.5 kB / 4.401 GB, free: 64.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/8.066, allocations: 74.5 kB / 4.401 GB, free: 64.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/8.066, allocations: 172.6 kB / 4.401 GB, free: 64.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/8.066, allocations: 100.5 kB / 4.401 GB, free: 64.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/8.066, allocations: 0 / 4.401 GB, free: 64.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005672/8.067, allocations: 346.5 kB / 4.401 GB, free: 64.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/8.067, allocations: 7.875 kB / 4.401 GB, free: 64.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/8.067, allocations: 0 / 4.401 GB, free: 64.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/8.067, allocations: 59.53 kB / 4.402 GB, free: 64.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/8.068, allocations: 74.36 kB / 4.402 GB, free: 64.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/8.069, allocations: 2.545 MB / 4.404 GB, free: 62.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/8.069, allocations: 16.69 kB / 4.404 GB, free: 62.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/8.069, allocations: 16.16 kB / 4.404 GB, free: 62.32 MB / 426.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001334/8.07, allocations: 118.9 kB / 4.404 GB, free: 62.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/8.07, allocations: 23.31 kB / 4.404 GB, free: 62.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.422e-05/8.07, allocations: 29.59 kB / 4.404 GB, free: 62.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/8.07, allocations: 0 / 4.404 GB, free: 62.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/8.07, allocations: 3.938 kB / 4.404 GB, free: 62.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004613/8.07, allocations: 0.543 MB / 4.405 GB, free: 61.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/8.071, allocations: 0.6399 MB / 4.405 GB, free: 61.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/8.071, allocations: 3.906 kB / 4.405 GB, free: 61.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/8.071, allocations: 46.53 kB / 4.405 GB, free: 61.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/8.071, allocations: 51.36 kB / 4.406 GB, free: 61.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/8.072, allocations: 11.16 kB / 4.406 GB, free: 61.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000787/8.072, allocations: 1.307 MB / 4.407 GB, free: 60.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/8.072, allocations: 0 / 4.407 GB, free: 60.25 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005407/8.073, allocations: 459.7 kB / 4.407 GB, free: 60.07 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009305/8.074, allocations: 0.9732 MB / 4.408 GB, free: 59.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-05/8.074, allocations: 101.7 kB / 4.408 GB, free: 59.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/8.074, allocations: 0 / 4.408 GB, free: 59.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/8.074, allocations: 13.95 kB / 4.408 GB, free: 59.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/8.074, allocations: 12.23 kB / 4.408 GB, free: 59.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/8.074, allocations: 13.67 kB / 4.408 GB, free: 59.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001121/8.074, allocations: 157 kB / 4.409 GB, free: 59.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001198/8.076, allocations: 132.6 kB / 4.409 GB, free: 59.32 MB / 426.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 (24): * Single equations (assignments): 23 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003239/8.076, allocations: 318 kB / 4.409 GB, free: 59.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006011/8.077, allocations: 430.6 kB / 4.409 GB, free: 59.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/8.077, allocations: 0 / 4.409 GB, free: 59.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/8.077, allocations: 211.9 kB / 4.41 GB, free: 58.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006532/8.077, allocations: 112.1 kB / 4.41 GB, free: 58.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008874/8.078, allocations: 486.2 kB / 4.41 GB, free: 58.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/8.079, allocations: 0.8092 MB / 4.411 GB, free: 58.07 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/8.079, allocations: 0 / 4.411 GB, free: 58.07 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat