Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",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.001994/0.001994, allocations: 180 kB / 8.477 MB, free: 1.883 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.479/1.479, allocations: 205.2 MB / 214.1 MB, free: 5.527 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.0009487/0.0009487, allocations: 82.27 kB / 262.1 MB, free: 5.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.195/0.196, allocations: 52.98 MB / 315.1 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.2845, allocations: 47.57 MB / 362.6 MB, free: 9.93 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5906/0.8751, allocations: 264.3 MB / 0.6122 GB, free: 142.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.8754, allocations: 95.92 kB / 0.6123 GB, free: 142.8 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.1658/1.041, allocations: 83.37 MB / 0.6937 GB, free: 58.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/1.041, allocations: 8 kB / 0.6937 GB, free: 58.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/1.042, allocations: 47.61 kB / 0.6938 GB, free: 58.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/1.042, allocations: 274.5 kB / 0.6941 GB, free: 57.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/1.042, allocations: 8 kB / 0.6941 GB, free: 57.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/1.042, allocations: 16 kB / 0.6941 GB, free: 57.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002883/1.042, allocations: 156.9 kB / 0.6942 GB, free: 57.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/1.043, allocations: 271.6 kB / 0.6945 GB, free: 57.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/1.043, allocations: 0 / 0.6945 GB, free: 57.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/1.043, allocations: 4 kB / 0.6945 GB, free: 57.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.043, allocations: 4 kB / 0.6945 GB, free: 57.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/1.044, allocations: 1.669 MB / 0.6961 GB, free: 55.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/1.045, allocations: 89.7 kB / 0.6962 GB, free: 55.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.033e-05/1.045, allocations: 60.86 kB / 0.6963 GB, free: 55.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/1.045, allocations: 170.2 kB / 0.6964 GB, free: 55.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.045, allocations: 34.56 kB / 0.6965 GB, free: 55.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.285e-06/1.045, allocations: 0 / 0.6965 GB, free: 55.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=21): time 0.001446/1.046, allocations: 0.5925 MB / 0.697 GB, free: 54.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/1.046, allocations: 55.59 kB / 0.6971 GB, free: 54.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/1.046, allocations: 208.1 kB / 0.6973 GB, free: 54.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/1.047, allocations: 25.7 kB / 0.6973 GB, free: 54.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/1.047, allocations: 191.5 kB / 0.6975 GB, free: 54.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/1.047, allocations: 67 kB / 0.6976 GB, free: 54.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/1.047, allocations: 4 kB / 0.6976 GB, free: 54.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.193e-05/1.047, allocations: 334.8 kB / 0.6979 GB, free: 53.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.443e-05/1.047, allocations: 59.98 kB / 0.6979 GB, free: 53.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/1.047, allocations: 176.9 kB / 0.6981 GB, free: 53.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/1.047, allocations: 101.1 kB / 0.6982 GB, free: 53.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.047, allocations: 4 kB / 0.6982 GB, free: 53.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004737/1.048, allocations: 286.1 kB / 0.6985 GB, free: 53.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/1.048, allocations: 4 kB / 0.6985 GB, free: 53.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.048, allocations: 4 kB / 0.6985 GB, free: 53.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000118/1.048, allocations: 28.78 kB / 0.6985 GB, free: 53.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/1.048, allocations: 87.89 kB / 0.6986 GB, free: 52.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000806/1.049, allocations: 1.233 MB / 0.6998 GB, free: 51.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/1.049, allocations: 16.16 kB / 0.6998 GB, free: 51.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/1.049, allocations: 16 kB / 0.6998 GB, free: 51.57 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: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001562/1.049, allocations: 120.9 kB / 0.7 GB, free: 51.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/1.05, allocations: 31.61 kB / 0.7 GB, free: 51.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003957/1.05, allocations: 196.4 kB / 0.7002 GB, free: 51.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.05, allocations: 0 / 0.7002 GB, free: 51.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/1.05, allocations: 0 / 0.7002 GB, free: 51.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002906/1.05, allocations: 467.7 kB / 0.7006 GB, free: 50.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009835/1.051, allocations: 0.7103 MB / 0.7013 GB, free: 49.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/1.051, allocations: 4 kB / 0.7013 GB, free: 49.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/1.051, allocations: 47.83 kB / 0.7014 GB, free: 49.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.051, allocations: 4 kB / 0.7014 GB, free: 49.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/1.051, allocations: 4 kB / 0.7014 GB, free: 49.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.052, allocations: 8.203 kB / 0.7014 GB, free: 49.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.052, allocations: 8 kB / 0.7014 GB, free: 49.79 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004459/1.052, allocations: 482.9 kB / 0.7018 GB, free: 49.22 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005735/1.053, allocations: 0.909 MB / 0.7027 GB, free: 48.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/1.053, allocations: 104.8 kB / 0.7028 GB, free: 48.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/1.053, allocations: 7.938 kB / 0.7028 GB, free: 48.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/1.053, allocations: 11.98 kB / 0.7028 GB, free: 48.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/1.053, allocations: 19.95 kB / 0.7029 GB, free: 48.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/1.053, allocations: 15.98 kB / 0.7029 GB, free: 48.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001286/1.053, allocations: 164.5 kB / 0.703 GB, free: 47.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001118/1.054, allocations: 111.9 kB / 0.7031 GB, free: 47.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003729/1.055, allocations: 245.4 kB / 0.7034 GB, free: 47.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004613/1.055, allocations: 266 kB / 0.7036 GB, free: 47.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.055, allocations: 4 kB / 0.7036 GB, free: 47.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.027e-05/1.055, allocations: 65.38 kB / 0.7037 GB, free: 47.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006728/1.056, allocations: 104.4 kB / 0.7038 GB, free: 47.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008204/1.057, allocations: 429.6 kB / 0.7042 GB, free: 46.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/1.057, allocations: 0.8102 MB / 0.705 GB, free: 45.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.223e-06/1.057, allocations: 0 / 0.705 GB, free: 45.77 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat