Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_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.534/2.534, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.003207/0.003207, allocations: 181.2 kB / 360.3 MB, free: 7.52 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.922/1.922, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001191/0.001191, allocations: 94.88 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3146/0.3158, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/1.044, allocations: 115.2 MB / 0.9628 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.367/1.411, allocations: 163.6 MB / 1.123 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004089/1.411, allocations: 73.34 kB / 1.123 GB, free: 9.188 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.008689/1.42, allocations: 1.622 MB / 1.124 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/1.42, allocations: 10.28 kB / 1.124 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/1.42, allocations: 7.906 kB / 1.124 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/1.42, allocations: 163.6 kB / 1.124 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/1.42, allocations: 33.88 kB / 1.124 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/1.42, allocations: 3.938 kB / 1.124 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.524e-05/1.42, allocations: 5.688 kB / 1.124 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/1.421, allocations: 35.05 kB / 1.124 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.421, allocations: 0 / 1.124 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.421, allocations: 0.5938 kB / 1.124 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/1.421, allocations: 9.375 kB / 1.124 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/1.421, allocations: 130.9 kB / 1.125 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/1.421, allocations: 24.67 kB / 1.125 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/1.421, allocations: 9.453 kB / 1.125 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/1.421, allocations: 94.52 kB / 1.125 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/1.421, allocations: 38.5 kB / 1.125 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/1.421, allocations: 1.969 kB / 1.125 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002948/1.422, allocations: 50.19 kB / 1.125 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/1.422, allocations: 55.41 kB / 1.125 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/1.422, allocations: 85.66 kB / 1.125 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/1.422, allocations: 25.7 kB / 1.125 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/1.422, allocations: 84.14 kB / 1.125 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/1.422, allocations: 7.906 kB / 1.125 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/1.422, allocations: 4 kB / 1.125 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.422, allocations: 310.8 kB / 1.125 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.142e-05/1.422, allocations: 4 kB / 1.125 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.597e-05/1.422, allocations: 3.984 kB / 1.125 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/1.423, allocations: 13.22 kB / 1.125 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.423, allocations: 0 / 1.125 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002261/1.423, allocations: 50.19 kB / 1.125 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.423, allocations: 4 kB / 1.125 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.423, allocations: 3.984 kB / 1.125 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.423, allocations: 0 / 1.125 GB, free: 6.168 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/1.423, allocations: 8 kB / 1.125 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/1.423, allocations: 3.938 kB / 1.125 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/1.423, allocations: 4 kB / 1.125 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/1.423, allocations: 0.6562 kB / 1.125 GB, free: 6.152 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 0.00011/1.423, allocations: 104.8 kB / 1.125 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/1.423, allocations: 11.91 kB / 1.125 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/1.424, allocations: 49.36 kB / 1.126 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.424, allocations: 6.516 kB / 1.126 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.424, allocations: 4 kB / 1.126 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.424, allocations: 0 / 1.126 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/1.424, allocations: 141.9 kB / 1.126 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.424, allocations: 0 / 1.126 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/1.424, allocations: 4 kB / 1.126 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.424, allocations: 0.75 kB / 1.126 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/1.424, allocations: 0 / 1.126 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.424, allocations: 0 / 1.126 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.424, allocations: 4 kB / 1.126 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002293/1.424, allocations: 77.02 kB / 1.126 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004041/1.425, allocations: 450 kB / 1.126 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/1.425, allocations: 89 kB / 1.126 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/1.425, allocations: 0 / 1.126 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/1.425, allocations: 1.938 kB / 1.126 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/1.425, allocations: 4.594 kB / 1.126 GB, free: 5.117 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/1.425, allocations: 8 kB / 1.126 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.949e-05/1.425, allocations: 75.28 kB / 1.126 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001961/1.427, allocations: 19.94 kB / 1.126 GB, free: 5.016 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.0003565/1.428, allocations: 139.2 kB / 1.127 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001278/1.428, allocations: 12.56 kB / 1.127 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.428, allocations: 2.594 kB / 1.127 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/1.428, allocations: 7.938 kB / 1.127 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/1.428, allocations: 15.89 kB / 1.127 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/1.428, allocations: 52.75 kB / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/1.429, allocations: 0.6876 MB / 1.127 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of SimCode: time 4.689e-06/1.429, allocations: 0 / 1.127 GB, free: 4.051 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)