Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7057/0.7057, allocations: 141.8 MB / 149.1 MB, free: 3.941 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 183.9 kB / 181.9 MB, free: 15.67 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 221.3 MB / 436 MB, free: 8.801 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009556/0.0009556, allocations: 96.89 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001812/0.001812, allocations: 280.8 kB / 0.5884 GB, free: 11.84 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1628/0.1647, allocations: 89.65 MB / 0.676 GB, free: 2.113 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.4852, allocations: 82.76 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5034/0.9886, allocations: 316.1 MB / 1.065 GB, free: 92 kB / 0.5888 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.9889, allocations: 84.25 kB / 1.066 GB, free: 48 kB / 0.5888 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.04136/1.03, allocations: 16.88 MB / 1.082 GB, free: 2.023 MB / 0.6044 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/1.03, allocations: 8 kB / 1.082 GB, free: 2.016 MB / 0.6044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/1.032, allocations: 193.1 kB / 1.082 GB, free: 1.84 MB / 0.6044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/1.033, allocations: 217.3 kB / 1.082 GB, free: 1.598 MB / 0.6044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/1.033, allocations: 4 kB / 1.082 GB, free: 1.594 MB / 0.6044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/1.033, allocations: 11.91 kB / 1.082 GB, free: 1.582 MB / 0.6044 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004048/1.033, allocations: 197.4 kB / 1.083 GB, free: 1.438 MB / 0.6044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/1.033, allocations: 241.5 kB / 1.083 GB, free: 1.207 MB / 0.6044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.033, allocations: 0 / 1.083 GB, free: 1.207 MB / 0.6044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/1.033, allocations: 4 kB / 1.083 GB, free: 1.203 MB / 0.6044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/1.033, allocations: 4 kB / 1.083 GB, free: 1.199 MB / 0.6044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/1.035, allocations: 1.353 MB / 1.084 GB, free: 15.81 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/1.035, allocations: 138.3 kB / 1.084 GB, free: 15.7 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.756e-05/1.036, allocations: 54.42 kB / 1.084 GB, free: 15.66 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/1.036, allocations: 7.969 kB / 1.084 GB, free: 15.66 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/1.036, allocations: 37.88 kB / 1.084 GB, free: 15.61 MB / 0.62 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/1.036, allocations: 0.9375 kB / 1.084 GB, free: 15.61 MB / 0.62 GB Notification: Performance of matching and sorting (n=18): time 0.00032/1.036, allocations: 149.9 kB / 1.085 GB, free: 15.48 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.036, allocations: 51.41 kB / 1.085 GB, free: 15.42 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/1.036, allocations: 126.5 kB / 1.085 GB, free: 15.3 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/1.036, allocations: 25.7 kB / 1.085 GB, free: 15.27 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/1.036, allocations: 131.2 kB / 1.085 GB, free: 15.14 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/1.036, allocations: 62.42 kB / 1.085 GB, free: 15.09 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/1.036, allocations: 0 / 1.085 GB, free: 15.09 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.036, allocations: 330 kB / 1.085 GB, free: 14.76 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/1.036, allocations: 46.7 kB / 1.085 GB, free: 14.73 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/1.037, allocations: 118.6 kB / 1.085 GB, free: 14.6 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/1.037, allocations: 57.84 kB / 1.085 GB, free: 14.56 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.037, allocations: 0 / 1.085 GB, free: 14.56 MB / 0.62 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003735/1.037, allocations: 201.8 kB / 1.086 GB, free: 14.39 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.037, allocations: 5.094 kB / 1.086 GB, free: 14.38 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.037, allocations: 4 kB / 1.086 GB, free: 14.38 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.037, allocations: 4 kB / 1.086 GB, free: 14.38 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/1.038, allocations: 71.88 kB / 1.086 GB, free: 14.3 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/1.038, allocations: 4 kB / 1.086 GB, free: 14.3 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/1.038, allocations: 27.73 kB / 1.086 GB, free: 14.27 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/1.038, allocations: 15.59 kB / 1.086 GB, free: 14.26 MB / 0.62 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.8e-05/1.038, allocations: 104.9 kB / 1.086 GB, free: 14.15 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/1.038, allocations: 11.91 kB / 1.086 GB, free: 14.14 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/1.038, allocations: 192 kB / 1.086 GB, free: 13.99 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.038, allocations: 0 / 1.086 GB, free: 13.99 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.039, allocations: 7.938 kB / 1.086 GB, free: 13.98 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.039, allocations: 7.984 kB / 1.086 GB, free: 13.97 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/1.039, allocations: 203.3 kB / 1.086 GB, free: 13.76 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.039, allocations: 0 / 1.086 GB, free: 13.76 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003465/1.039, allocations: 55.53 kB / 1.086 GB, free: 13.71 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/1.039, allocations: 0 / 1.086 GB, free: 13.71 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/1.039, allocations: 3.984 kB / 1.086 GB, free: 13.7 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/1.039, allocations: 4 kB / 1.086 GB, free: 13.7 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.039, allocations: 3.906 kB / 1.086 GB, free: 13.7 MB / 0.62 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000298/1.039, allocations: 250.3 kB / 1.087 GB, free: 13.46 MB / 0.62 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004041/1.04, allocations: 0.6336 MB / 1.087 GB, free: 12.86 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/1.04, allocations: 112.5 kB / 1.087 GB, free: 12.73 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/1.04, allocations: 0 / 1.087 GB, free: 12.73 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/1.04, allocations: 19.98 kB / 1.087 GB, free: 12.71 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/1.04, allocations: 11.89 kB / 1.087 GB, free: 12.7 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/1.04, allocations: 11.42 kB / 1.087 GB, free: 12.69 MB / 0.62 GB Notification: Performance of sort global known variables: time 6.453e-05/1.041, allocations: 105.1 kB / 1.087 GB, free: 12.6 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.0009285/1.041, allocations: 56.12 kB / 1.088 GB, free: 12.54 MB / 0.62 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.0002066/1.042, allocations: 136 kB / 1.088 GB, free: 12.4 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.0002663/1.042, allocations: 138.7 kB / 1.088 GB, free: 12.3 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.042, allocations: 4.625 kB / 1.088 GB, free: 12.3 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/1.042, allocations: 74.55 kB / 1.088 GB, free: 12.24 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/1.042, allocations: 35.97 kB / 1.088 GB, free: 12.21 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/1.043, allocations: 209.9 kB / 1.088 GB, free: 12 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/1.044, allocations: 0.7476 MB / 1.089 GB, free: 11.23 MB / 0.62 GB Notification: Performance of SimCode: time 2.51e-07/1.044, allocations: 0 / 1.089 GB, free: 11.23 MB / 0.62 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)