Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.529/2.529, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.003771/0.00377, allocations: 189.2 kB / 360.3 MB, free: 7.531 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.931/1.931, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001248/0.001247, allocations: 92.44 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2835/0.2848, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.9326, allocations: 115.2 MB / 0.9627 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2664/1.199, allocations: 164.2 MB / 1.123 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.199, allocations: 78 kB / 1.123 GB, free: 8.559 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.009409/1.209, allocations: 2.225 MB / 1.125 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.209, allocations: 8.5 kB / 1.125 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/1.209, allocations: 4 kB / 1.125 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/1.209, allocations: 166.9 kB / 1.125 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/1.209, allocations: 4 kB / 1.125 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/1.209, allocations: 1.266 kB / 1.125 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001539/1.209, allocations: 24 kB / 1.126 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/1.21, allocations: 49.69 kB / 1.126 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.21, allocations: 0 / 1.126 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/1.21, allocations: 5.906 kB / 1.126 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.21, allocations: 1.031 kB / 1.126 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/1.21, allocations: 261.3 kB / 1.126 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/1.21, allocations: 34.58 kB / 1.126 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/1.21, allocations: 12.86 kB / 1.126 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/1.211, allocations: 93.19 kB / 1.126 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/1.211, allocations: 30.56 kB / 1.126 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 3.517e-06/1.211, allocations: 2.844 kB / 1.126 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0003125/1.211, allocations: 57.59 kB / 1.126 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/1.211, allocations: 55.41 kB / 1.126 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/1.211, allocations: 106.3 kB / 1.126 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/1.211, allocations: 25.7 kB / 1.126 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/1.211, allocations: 88.08 kB / 1.126 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/1.211, allocations: 15.8 kB / 1.126 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/1.211, allocations: 0 / 1.126 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.211, allocations: 310.8 kB / 1.127 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/1.211, allocations: 8 kB / 1.127 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/1.212, allocations: 18.62 kB / 1.127 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.759e-05/1.212, allocations: 8.594 kB / 1.127 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.212, allocations: 0 / 1.127 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001898/1.212, allocations: 57.59 kB / 1.127 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.212, allocations: 8 kB / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.212, allocations: 0 / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.212, allocations: 0.6094 kB / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/1.212, allocations: 27.97 kB / 1.127 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.212, allocations: 0 / 1.127 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/1.212, allocations: 23.86 kB / 1.127 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/1.212, allocations: 8 kB / 1.127 GB, free: 4.703 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 8.532e-05/1.213, allocations: 104.8 kB / 1.127 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/1.213, allocations: 7.906 kB / 1.127 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/1.213, allocations: 61.95 kB / 1.127 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.213, allocations: 4 kB / 1.127 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.213, allocations: 0 / 1.127 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.213, allocations: 0 / 1.127 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/1.213, allocations: 154.1 kB / 1.127 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.213, allocations: 1.688 kB / 1.127 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/1.213, allocations: 24.5 kB / 1.127 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.213, allocations: 0 / 1.127 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/1.213, allocations: 0 / 1.127 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/1.213, allocations: 4 kB / 1.127 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.213, allocations: 0 / 1.127 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002554/1.214, allocations: 159.9 kB / 1.127 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003622/1.214, allocations: 0.5226 MB / 1.128 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-05/1.214, allocations: 81.02 kB / 1.128 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/1.214, allocations: 0 / 1.128 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/1.214, allocations: 25.75 kB / 1.128 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/1.215, allocations: 4 kB / 1.128 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/1.215, allocations: 1.312 kB / 1.128 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.194e-05/1.215, allocations: 91.27 kB / 1.128 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001139/1.216, allocations: 23.84 kB / 1.128 GB, free: 3.348 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.0002895/1.216, allocations: 147.2 kB / 1.128 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001475/1.216, allocations: 20 kB / 1.128 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.216, allocations: 0 / 1.128 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.908e-05/1.216, allocations: 12.61 kB / 1.128 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/1.217, allocations: 6.203 kB / 1.128 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/1.217, allocations: 84.5 kB / 1.128 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/1.217, allocations: 0.6993 MB / 1.129 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of SimCode: time 8.21e-07/1.217, allocations: 3.938 kB / 1.129 GB, free: 2.328 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)