Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.488/2.488, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001663/0.001663, allocations: 187.4 kB / 360.3 MB, free: 7.527 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.911/1.911, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.00125/0.00125, allocations: 97.25 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3094/0.3107, allocations: 121.4 MB / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6492/0.9599, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2404/1.2, allocations: 139.3 MB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.201, allocations: 81.17 kB / 1.099 GB, free: 1.5 MB / 0.698 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.02028/1.221, allocations: 3.508 MB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.221, allocations: 12 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005243/1.222, allocations: 35.78 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/1.222, allocations: 194.9 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-05/1.222, allocations: 39 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/1.222, allocations: 11.94 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002254/1.222, allocations: 44 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/1.223, allocations: 73.67 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.223, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/1.223, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/1.223, allocations: 4 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008331/1.224, allocations: 349 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/1.224, allocations: 115.4 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/1.224, allocations: 24.86 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/1.224, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/1.225, allocations: 42.66 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/1.225, allocations: 0 / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002943/1.225, allocations: 73.73 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/1.225, allocations: 51.41 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/1.225, allocations: 124.2 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/1.225, allocations: 25.7 kB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/1.225, allocations: 99.97 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/1.225, allocations: 15.66 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/1.225, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.225, allocations: 326.8 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/1.225, allocations: 16 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/1.226, allocations: 29.72 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.737e-05/1.226, allocations: 12 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.226, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002225/1.226, allocations: 85.53 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.226, allocations: 4 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.226, allocations: 8.031 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.226, allocations: 2 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/1.226, allocations: 19.98 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.226, allocations: 4.844 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/1.226, allocations: 11.91 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/1.226, allocations: 8 kB / 1.104 GB, free: 12.04 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.0001232/1.227, allocations: 108.7 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/1.227, allocations: 11.84 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/1.227, allocations: 12.36 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.227, allocations: 1.5 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.227, allocations: 4 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.227, allocations: 3.906 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/1.227, allocations: 178.1 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.227, allocations: 0 / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/1.227, allocations: 23.98 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.227, allocations: 0 / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/1.227, allocations: 0 / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.227, allocations: 1.75 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.227, allocations: 0 / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003119/1.228, allocations: 181.7 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003746/1.228, allocations: 0.535 MB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/1.228, allocations: 89 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/1.228, allocations: 0 / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/1.228, allocations: 19.98 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/1.229, allocations: 0 / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/1.229, allocations: 10.61 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.234e-05/1.229, allocations: 91.28 kB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001136/1.23, allocations: 19.91 kB / 1.105 GB, free: 10.67 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.0001568/1.23, allocations: 95.25 kB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000224/1.23, allocations: 55.92 kB / 1.105 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.23, allocations: 0 / 1.105 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/1.23, allocations: 27.98 kB / 1.105 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/1.231, allocations: 15.98 kB / 1.105 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006228/1.232, allocations: 132 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/1.232, allocations: 0.7154 MB / 1.106 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/1.232, allocations: 0 / 1.106 GB, free: 9.578 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)