Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.936/1.936, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 169.3 kB / 487 MB, free: 5.371 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 221.3 MB / 0.7819 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 101.8 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4655/0.4667, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.6763, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7078/1.384, allocations: 355.2 MB / 1.552 GB, free: 2.641 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/1.384, allocations: 79.69 kB / 1.552 GB, free: 2.598 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.03951/1.424, allocations: 16.84 MB / 1.569 GB, free: 4.57 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/1.424, allocations: 8 kB / 1.569 GB, free: 4.562 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/1.426, allocations: 196.6 kB / 1.569 GB, free: 4.383 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/1.426, allocations: 211.7 kB / 1.569 GB, free: 4.145 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/1.426, allocations: 8 kB / 1.569 GB, free: 4.137 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/1.426, allocations: 8 kB / 1.569 GB, free: 4.129 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003769/1.427, allocations: 196.2 kB / 1.569 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/1.427, allocations: 231.4 kB / 1.57 GB, free: 3.762 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/1.427, allocations: 0 / 1.57 GB, free: 3.762 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/1.427, allocations: 4 kB / 1.57 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/1.427, allocations: 4 kB / 1.57 GB, free: 3.754 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/1.428, allocations: 1.354 MB / 1.571 GB, free: 2.367 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/1.429, allocations: 147.9 kB / 1.571 GB, free: 2.246 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.216e-05/1.429, allocations: 59.42 kB / 1.571 GB, free: 2.203 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/1.429, allocations: 0 / 1.571 GB, free: 2.203 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/1.429, allocations: 41.78 kB / 1.571 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=18): time 1.022e-06/1.429, allocations: 0 / 1.571 GB, free: 2.156 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18): time 0.0003552/1.429, allocations: 151.6 kB / 1.571 GB, free: 2.031 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/1.429, allocations: 55.41 kB / 1.571 GB, free: 1.965 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/1.429, allocations: 119.2 kB / 1.571 GB, free: 1.848 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/1.429, allocations: 25.7 kB / 1.571 GB, free: 1.816 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/1.43, allocations: 135 kB / 1.572 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/1.43, allocations: 58.17 kB / 1.572 GB, free: 1.637 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/1.43, allocations: 0 / 1.572 GB, free: 1.637 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/1.43, allocations: 318.8 kB / 1.572 GB, free: 1.32 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.989e-05/1.43, allocations: 49.91 kB / 1.572 GB, free: 1.285 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/1.43, allocations: 122.1 kB / 1.572 GB, free: 1.152 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/1.43, allocations: 61.94 kB / 1.572 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.43, allocations: 0.75 kB / 1.572 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003074/1.43, allocations: 198.8 kB / 1.572 GB, free: 0.9414 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/1.43, allocations: 4 kB / 1.572 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.43, allocations: 4 kB / 1.572 GB, free: 0.9336 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/1.43, allocations: 4 kB / 1.572 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/1.431, allocations: 63.89 kB / 1.572 GB, free: 0.8672 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.431, allocations: 4 kB / 1.572 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/1.431, allocations: 31.67 kB / 1.572 GB, free: 0.832 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/1.431, allocations: 23.33 kB / 1.572 GB, free: 0.8125 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 prepare postOptimizeDAE: time 8.462e-05/1.431, allocations: 108.9 kB / 1.573 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/1.431, allocations: 15.81 kB / 1.573 GB, free: 0.6836 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/1.432, allocations: 182.5 kB / 1.573 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/1.432, allocations: 4 kB / 1.573 GB, free: 0.5352 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.432, allocations: 4 kB / 1.573 GB, free: 0.5312 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/1.432, allocations: 0 / 1.573 GB, free: 0.5312 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/1.432, allocations: 211.9 kB / 1.573 GB, free: 316 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/1.432, allocations: 0 / 1.573 GB, free: 316 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/1.432, allocations: 51.89 kB / 1.573 GB, free: 264 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/1.432, allocations: 4 kB / 1.573 GB, free: 260 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/1.432, allocations: 7.906 kB / 1.573 GB, free: 252 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.432, allocations: 0 / 1.573 GB, free: 252 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.432, allocations: 0 / 1.573 GB, free: 252 kB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002771/1.433, allocations: 255.2 kB / 1.573 GB, free: 12 kB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003913/1.433, allocations: 0.6349 MB / 1.574 GB, free: 15.4 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/1.433, allocations: 108.2 kB / 1.574 GB, free: 15.28 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/1.433, allocations: 0 / 1.574 GB, free: 15.28 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/1.434, allocations: 27.83 kB / 1.574 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/1.434, allocations: 11.92 kB / 1.574 GB, free: 15.24 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/1.434, allocations: 11.94 kB / 1.574 GB, free: 15.23 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.313e-05/1.434, allocations: 100.8 kB / 1.574 GB, free: 15.14 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009108/1.435, allocations: 60.02 kB / 1.574 GB, free: 15.09 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002077/1.435, allocations: 131.2 kB / 1.574 GB, free: 14.95 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002489/1.435, allocations: 142.4 kB / 1.574 GB, free: 14.84 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.435, allocations: 0.625 kB / 1.574 GB, free: 14.84 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/1.435, allocations: 73.8 kB / 1.575 GB, free: 14.79 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/1.435, allocations: 30.91 kB / 1.575 GB, free: 14.77 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/1.436, allocations: 209.8 kB / 1.575 GB, free: 14.55 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/1.437, allocations: 0.7515 MB / 1.576 GB, free: 13.78 MB / 1.01 GB Notification: Performance of SimCode: time 2.91e-07/1.437, allocations: 0 / 1.576 GB, free: 13.78 MB / 1.01 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat does not exist to compare? outputFormat=mat