Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) 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) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.468/2.468, allocations: 284.8 MB / 292.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002196/0.002196, allocations: 181.2 kB / 360.3 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.1 MB / 0.6187 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 91.41 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2715/0.2727, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.911, allocations: 115.2 MB / 0.9627 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.966, allocations: 345.1 MB / 1.3 GB, free: 188 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/1.966, allocations: 82.42 kB / 1.3 GB, free: 188 MB / 0.8542 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.07606/2.042, allocations: 16.36 MB / 1.316 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/2.042, allocations: 8.219 kB / 1.316 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/2.046, allocations: 199.8 kB / 1.316 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/2.046, allocations: 216.2 kB / 1.316 GB, free: 186 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.009e-05/2.046, allocations: 7.719 kB / 1.316 GB, free: 186 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/2.046, allocations: 11.7 kB / 1.316 GB, free: 186 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006774/2.047, allocations: 201.1 kB / 1.316 GB, free: 186 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/2.048, allocations: 231.2 kB / 1.317 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/2.048, allocations: 0 / 1.317 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/2.048, allocations: 0 / 1.317 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/2.048, allocations: 7.719 kB / 1.317 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/2.05, allocations: 1.334 MB / 1.318 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/2.051, allocations: 144.4 kB / 1.318 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/2.051, allocations: 58.45 kB / 1.318 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/2.051, allocations: 3.984 kB / 1.318 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/2.051, allocations: 43.09 kB / 1.318 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.016e-06/2.051, allocations: 0 / 1.318 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.000488/2.051, allocations: 142.5 kB / 1.318 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/2.051, allocations: 51.41 kB / 1.318 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/2.051, allocations: 121.6 kB / 1.319 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/2.051, allocations: 30.45 kB / 1.319 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/2.052, allocations: 135.4 kB / 1.319 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/2.052, allocations: 57.8 kB / 1.319 GB, free: 184 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/2.052, allocations: 3.938 kB / 1.319 GB, free: 184 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/2.052, allocations: 324.8 kB / 1.319 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/2.052, allocations: 47.55 kB / 1.319 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/2.052, allocations: 117.5 kB / 1.319 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/2.052, allocations: 61.19 kB / 1.319 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/2.052, allocations: 2.062 kB / 1.319 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004817/2.053, allocations: 195.7 kB / 1.319 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/2.053, allocations: 7.812 kB / 1.319 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/2.053, allocations: 0 / 1.319 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/2.053, allocations: 4.219 kB / 1.319 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/2.054, allocations: 70.2 kB / 1.32 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/2.054, allocations: 7.891 kB / 1.32 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/2.054, allocations: 30.33 kB / 1.32 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/2.054, allocations: 13.97 kB / 1.32 GB, free: 183.5 MB / 0.8542 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 0.0001127/2.054, allocations: 109.6 kB / 1.32 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/2.054, allocations: 18.78 kB / 1.32 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006606/2.055, allocations: 193.6 kB / 1.32 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/2.055, allocations: 3.906 kB / 1.32 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/2.055, allocations: 0 / 1.32 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/2.055, allocations: 3.984 kB / 1.32 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/2.055, allocations: 205.3 kB / 1.32 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/2.055, allocations: 3.844 kB / 1.32 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006121/2.056, allocations: 54.08 kB / 1.32 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/2.056, allocations: 3.906 kB / 1.32 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/2.056, allocations: 0 / 1.32 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/2.056, allocations: 0 / 1.32 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/2.056, allocations: 7.922 kB / 1.32 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004025/2.057, allocations: 255 kB / 1.32 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000482/2.057, allocations: 0.6272 MB / 1.321 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/2.057, allocations: 106.8 kB / 1.321 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/2.057, allocations: 3.984 kB / 1.321 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/2.058, allocations: 12.86 kB / 1.321 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/2.058, allocations: 9.828 kB / 1.321 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/2.058, allocations: 10.53 kB / 1.321 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.43e-05/2.058, allocations: 105.6 kB / 1.321 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001378/2.059, allocations: 50.97 kB / 1.321 GB, free: 182.2 MB / 0.8542 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.0002397/2.06, allocations: 129.9 kB / 1.321 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004556/2.06, allocations: 140.9 kB / 1.322 GB, free: 182 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.06, allocations: 0.625 kB / 1.322 GB, free: 182 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/2.06, allocations: 73.88 kB / 1.322 GB, free: 182 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/2.061, allocations: 41.81 kB / 1.322 GB, free: 182 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/2.062, allocations: 206.9 kB / 1.322 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/2.063, allocations: 0.7569 MB / 1.323 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/2.063, allocations: 0 / 1.323 GB, free: 181.2 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)