Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",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.1-maint.8.0.x/package.mo): time 1.471/1.471, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.001174/0.001174, allocations: 165.3 kB / 361.1 MB, free: 7.145 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.174/1.174, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.0008689/0.0008689, allocations: 91.39 kB / 0.7326 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2193/0.2202, allocations: 121.4 MB / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5343/0.7546, allocations: 115.3 MB / 0.9637 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.9382, allocations: 164.3 MB / 1.124 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.9385, allocations: 76.12 kB / 1.124 GB, free: 7.59 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00583/0.9444, allocations: 2.22 MB / 1.126 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.9444, allocations: 12.5 kB / 1.126 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.9445, allocations: 4 kB / 1.126 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.9446, allocations: 167 kB / 1.127 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.9446, allocations: 1.875 kB / 1.127 GB, free: 5.168 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.9446, allocations: 7.984 kB / 1.127 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.621e-05/0.9447, allocations: 25.06 kB / 1.127 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.741e-05/0.9449, allocations: 51.17 kB / 1.127 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.9449, allocations: 0 / 1.127 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.9449, allocations: 3.906 kB / 1.127 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9449, allocations: 0 / 1.127 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.9453, allocations: 253.4 kB / 1.127 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.983e-05/0.9453, allocations: 31.22 kB / 1.127 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.9454, allocations: 20.94 kB / 1.127 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.9455, allocations: 85.11 kB / 1.127 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.9456, allocations: 40.62 kB / 1.127 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.9456, allocations: 0 / 1.127 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002302/0.9458, allocations: 58.11 kB / 1.127 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.9459, allocations: 52.72 kB / 1.127 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.946, allocations: 101 kB / 1.127 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.946, allocations: 25.7 kB / 1.127 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.946, allocations: 88.06 kB / 1.127 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.946, allocations: 13.41 kB / 1.127 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.9461, allocations: 8 kB / 1.127 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9462, allocations: 314.8 kB / 1.128 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.9462, allocations: 8 kB / 1.128 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.9463, allocations: 8 kB / 1.128 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.047e-05/0.9463, allocations: 16.59 kB / 1.128 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9463, allocations: 0 / 1.128 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001174/0.9465, allocations: 53.59 kB / 1.128 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.9465, allocations: 4 kB / 1.128 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.9465, allocations: 0 / 1.128 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.9465, allocations: 0.5156 kB / 1.128 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.9467, allocations: 35.91 kB / 1.128 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.9467, allocations: 0 / 1.128 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.431e-05/0.9468, allocations: 19.98 kB / 1.128 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.9468, allocations: 0 / 1.128 GB, free: 3.746 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 7.507e-05/0.9469, allocations: 109 kB / 1.128 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.9469, allocations: 3.906 kB / 1.128 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.9471, allocations: 70.3 kB / 1.128 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.9471, allocations: 0 / 1.128 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9471, allocations: 4 kB / 1.128 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.9471, allocations: 0 / 1.128 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.9473, allocations: 154.2 kB / 1.128 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.9473, allocations: 4.609 kB / 1.128 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.9474, allocations: 19.98 kB / 1.128 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.9474, allocations: 4 kB / 1.128 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.9474, allocations: 0 / 1.128 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.9474, allocations: 2.266 kB / 1.128 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9474, allocations: 0 / 1.128 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001934/0.9476, allocations: 165 kB / 1.128 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002993/0.9479, allocations: 0.518 MB / 1.129 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.948, allocations: 90.03 kB / 1.129 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.948, allocations: 0 / 1.129 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.9482, allocations: 15.98 kB / 1.129 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.9482, allocations: 0 / 1.129 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.9482, allocations: 8 kB / 1.129 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.135e-05/0.9483, allocations: 88.58 kB / 1.129 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007782/0.9491, allocations: 27.84 kB / 1.129 GB, free: 2.379 MB / 0.7292 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 (3): * Single equations (assignments): 3 * 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.0002025/0.9493, allocations: 144.9 kB / 1.129 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.642e-05/0.9494, allocations: 23.94 kB / 1.129 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.9494, allocations: 0 / 1.129 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.443e-05/0.9494, allocations: 12 kB / 1.129 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.9496, allocations: 11.98 kB / 1.129 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.9499, allocations: 74.09 kB / 1.129 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.9502, allocations: 0.7071 MB / 1.13 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9502, allocations: 0 / 1.13 GB, free: 1.359 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)