Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.599/1.599, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001322/0.001322, allocations: 181.3 kB / 366.3 MB, free: 2.012 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.63/1.63, allocations: 205.1 MB / 0.6256 GB, free: 5.91 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.0009067/0.0009069, allocations: 91.86 kB / 0.7395 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.33/0.331, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7881/1.119, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/1.319, allocations: 140.4 MB / 1.11 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.319, allocations: 76.47 kB / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01187/1.331, allocations: 3.523 MB / 1.113 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.17e-05/1.331, allocations: 8 kB / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/1.331, allocations: 35.78 kB / 1.113 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/1.332, allocations: 194.9 kB / 1.113 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/1.332, allocations: 33.7 kB / 1.114 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/1.332, allocations: 4 kB / 1.114 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002522/1.332, allocations: 56.48 kB / 1.114 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/1.332, allocations: 73.61 kB / 1.114 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.332, allocations: 4 kB / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/1.332, allocations: 0 / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/1.332, allocations: 0 / 1.114 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008673/1.333, allocations: 349 kB / 1.114 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/1.334, allocations: 107.6 kB / 1.114 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/1.334, allocations: 29.05 kB / 1.114 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/1.334, allocations: 0 / 1.114 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/1.334, allocations: 42.7 kB / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/1.334, allocations: 0 / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002884/1.334, allocations: 69.55 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/1.334, allocations: 63.39 kB / 1.114 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/1.335, allocations: 108.8 kB / 1.114 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/1.335, allocations: 25.7 kB / 1.114 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/1.335, allocations: 99.97 kB / 1.115 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/1.335, allocations: 28.86 kB / 1.115 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/1.335, allocations: 0 / 1.115 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.335, allocations: 314.8 kB / 1.115 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/1.335, allocations: 12 kB / 1.115 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.741e-05/1.335, allocations: 33.72 kB / 1.115 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/1.335, allocations: 26.8 kB / 1.115 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.335, allocations: 0 / 1.115 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001497/1.335, allocations: 77.53 kB / 1.115 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.335, allocations: 8 kB / 1.115 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.335, allocations: 0 / 1.115 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.335, allocations: 0 / 1.115 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/1.335, allocations: 24.02 kB / 1.115 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/1.335, allocations: 0 / 1.115 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/1.336, allocations: 18.42 kB / 1.115 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/1.336, allocations: 8 kB / 1.115 GB, free: 2.48 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001148/1.336, allocations: 101 kB / 1.115 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/1.336, allocations: 7.906 kB / 1.115 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/1.336, allocations: 16.31 kB / 1.115 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.336, allocations: 4 kB / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.336, allocations: 0 / 1.115 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.336, allocations: 7.844 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/1.336, allocations: 174.1 kB / 1.115 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.336, allocations: 0 / 1.115 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/1.336, allocations: 23.98 kB / 1.115 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.336, allocations: 0 / 1.115 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/1.336, allocations: 4 kB / 1.115 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/1.336, allocations: 3.984 kB / 1.115 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.336, allocations: 4 kB / 1.115 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002351/1.337, allocations: 171.4 kB / 1.116 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000536/1.337, allocations: 0.5388 MB / 1.116 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/1.337, allocations: 89.02 kB / 1.116 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/1.337, allocations: 0 / 1.116 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/1.337, allocations: 19.98 kB / 1.116 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/1.338, allocations: 7.984 kB / 1.116 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/1.338, allocations: 0 / 1.116 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.851e-05/1.338, allocations: 95.27 kB / 1.116 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009396/1.339, allocations: 23.91 kB / 1.116 GB, free: 1.102 MB / 0.7136 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 (7): * Single equations (assignments): 7 * 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.000162/1.339, allocations: 95.25 kB / 1.116 GB, free: 1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001408/1.339, allocations: 49.42 kB / 1.116 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.339, allocations: 0 / 1.116 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.063e-05/1.339, allocations: 25.22 kB / 1.116 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/1.339, allocations: 18.8 kB / 1.116 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/1.34, allocations: 131.2 kB / 1.117 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/1.34, allocations: 0.7191 MB / 1.117 GB, free: 20 kB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/1.34, allocations: 0 / 1.117 GB, free: 20 kB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)