Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 289.8 MB / 297 MB, free: 8.992 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.001481/0.001481, allocations: 177.3 kB / 366.3 MB, free: 11.29 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.584/1.584, allocations: 205.1 MB / 0.6256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009763/0.0009765, allocations: 93.72 kB / 0.7395 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5949/0.596, allocations: 122.4 MB / 0.8591 GB, free: 147.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.8459, allocations: 116.3 MB / 0.9726 GB, free: 31.53 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8222/1.668, allocations: 344.8 MB / 1.309 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/1.669, allocations: 83.97 kB / 1.309 GB, free: 4.828 MB / 0.8386 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.03941/1.708, allocations: 16.33 MB / 1.325 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/1.708, allocations: 19.92 kB / 1.325 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/1.71, allocations: 189.8 kB / 1.326 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/1.711, allocations: 209.8 kB / 1.326 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/1.711, allocations: 4 kB / 1.326 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/1.711, allocations: 15.91 kB / 1.326 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004815/1.711, allocations: 204.3 kB / 1.326 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/1.712, allocations: 232.4 kB / 1.326 GB, free: 6.441 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/1.712, allocations: 4 kB / 1.326 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/1.712, allocations: 0 / 1.326 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/1.712, allocations: 4 kB / 1.326 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/1.713, allocations: 1.338 MB / 1.328 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/1.714, allocations: 142.3 kB / 1.328 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/1.714, allocations: 52.36 kB / 1.328 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/1.714, allocations: 0 / 1.328 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.714, allocations: 41.3 kB / 1.328 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 3.577e-06/1.714, allocations: 0 / 1.328 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.00041/1.714, allocations: 147.2 kB / 1.328 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/1.714, allocations: 59.41 kB / 1.328 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/1.715, allocations: 122.6 kB / 1.328 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/1.715, allocations: 25.7 kB / 1.328 GB, free: 4.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/1.715, allocations: 126.8 kB / 1.328 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.401e-05/1.715, allocations: 65.73 kB / 1.328 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/1.715, allocations: 0 / 1.328 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.715, allocations: 325.5 kB / 1.329 GB, free: 4.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/1.715, allocations: 48.39 kB / 1.329 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/1.715, allocations: 114.7 kB / 1.329 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/1.715, allocations: 63.47 kB / 1.329 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.715, allocations: 0 / 1.329 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003431/1.716, allocations: 201.2 kB / 1.329 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.716, allocations: 4.312 kB / 1.329 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.716, allocations: 4 kB / 1.329 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/1.716, allocations: 4 kB / 1.329 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/1.716, allocations: 67.89 kB / 1.329 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.716, allocations: 7.984 kB / 1.329 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/1.716, allocations: 23.84 kB / 1.329 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/1.716, allocations: 15.86 kB / 1.329 GB, free: 3.523 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.0001086/1.717, allocations: 119.4 kB / 1.329 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/1.717, allocations: 7.906 kB / 1.329 GB, free: 3.395 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/1.717, allocations: 192.3 kB / 1.329 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/1.717, allocations: 4 kB / 1.329 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.717, allocations: 0 / 1.329 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.717, allocations: 3.984 kB / 1.329 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/1.717, allocations: 211.4 kB / 1.33 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.717, allocations: 0 / 1.33 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/1.718, allocations: 55.45 kB / 1.33 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.718, allocations: 0 / 1.33 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/1.718, allocations: 3.938 kB / 1.33 GB, free: 2.953 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/1.718, allocations: 7.984 kB / 1.33 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.718, allocations: 3.938 kB / 1.33 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000302/1.718, allocations: 257.6 kB / 1.33 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004328/1.719, allocations: 0.6273 MB / 1.331 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/1.719, allocations: 108.1 kB / 1.331 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/1.719, allocations: 3.984 kB / 1.331 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/1.719, allocations: 8 kB / 1.331 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/1.719, allocations: 19.22 kB / 1.331 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/1.719, allocations: 8 kB / 1.331 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.546e-05/1.719, allocations: 99.95 kB / 1.331 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009367/1.72, allocations: 51.91 kB / 1.331 GB, free: 1.805 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.000283/1.72, allocations: 130.6 kB / 1.331 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003074/1.721, allocations: 135.7 kB / 1.331 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.721, allocations: 4 kB / 1.331 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/1.721, allocations: 71.92 kB / 1.331 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/1.721, allocations: 39.94 kB / 1.331 GB, free: 1.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/1.722, allocations: 211.2 kB / 1.331 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/1.723, allocations: 0.7558 MB / 1.332 GB, free: 500 kB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/1.723, allocations: 0 / 1.332 GB, free: 500 kB / 0.8542 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)