Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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 7.0.3-maint.7.0.x/package.mo): time 1.29/1.29, allocations: 249.4 MB / 256.7 MB, free: 7.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009555/0.0009555, allocations: 177.3 kB / 316 MB, free: 3.48 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.2 MB / 0.5667 GB, free: 15.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008247/0.0008246, allocations: 90.2 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4046/0.4055, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.5976, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.838/4.436, allocations: 2.188 GB / 3.073 GB, free: 216.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/4.436, allocations: 87.89 kB / 3.073 GB, free: 216.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.1324/4.568, allocations: 65.76 MB / 3.137 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/4.568, allocations: 16 kB / 3.137 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008206/4.569, allocations: 87.91 kB / 3.137 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/4.569, allocations: 210.8 kB / 3.137 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/4.569, allocations: 0 / 3.137 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/4.569, allocations: 8 kB / 3.137 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001579/4.57, allocations: 75.88 kB / 3.137 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/4.57, allocations: 93.56 kB / 3.138 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/4.57, allocations: 0 / 3.138 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/4.57, allocations: 0 / 3.138 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/4.57, allocations: 4 kB / 3.138 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/4.57, allocations: 381 kB / 3.138 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/4.571, allocations: 195.8 kB / 3.138 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/4.571, allocations: 40.84 kB / 3.138 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/4.571, allocations: 8 kB / 3.138 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/4.571, allocations: 34.56 kB / 3.138 GB, free: 148 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/4.571, allocations: 0 / 3.138 GB, free: 148 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0002355/4.571, allocations: 105.6 kB / 3.138 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/4.571, allocations: 55.34 kB / 3.138 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/4.571, allocations: 119.9 kB / 3.138 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/4.571, allocations: 25.7 kB / 3.138 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/4.571, allocations: 100.1 kB / 3.139 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/4.571, allocations: 27.64 kB / 3.139 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/4.571, allocations: 4 kB / 3.139 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 3.804e-05/4.571, allocations: 314.8 kB / 3.139 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/4.571, allocations: 27.98 kB / 3.139 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/4.571, allocations: 50.5 kB / 3.139 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.874e-05/4.572, allocations: 23.98 kB / 3.139 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/4.572, allocations: 7.906 kB / 3.139 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001476/4.572, allocations: 97.81 kB / 3.139 GB, free: 147 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/4.572, allocations: 8.031 kB / 3.139 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/4.572, allocations: 0 / 3.139 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/4.572, allocations: 3.938 kB / 3.139 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/4.572, allocations: 31.97 kB / 3.139 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/4.572, allocations: 8.062 kB / 3.139 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/4.572, allocations: 23.97 kB / 3.139 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/4.572, allocations: 4 kB / 3.139 GB, free: 146.9 MB / 0.8698 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 (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 4.505e-05/4.572, allocations: 108.9 kB / 3.139 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/4.572, allocations: 7.906 kB / 3.139 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/4.572, allocations: 20.48 kB / 3.139 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/4.572, allocations: 0 / 3.139 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/4.572, allocations: 0 / 3.139 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/4.572, allocations: 0 / 3.139 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/4.573, allocations: 382.9 kB / 3.14 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/4.573, allocations: 3.906 kB / 3.14 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/4.573, allocations: 35.97 kB / 3.14 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/4.573, allocations: 0 / 3.14 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/4.573, allocations: 8 kB / 3.14 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/4.573, allocations: 0 / 3.14 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/4.573, allocations: 3.984 kB / 3.14 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000156/4.573, allocations: 191.4 kB / 3.14 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002408/4.573, allocations: 0.5934 MB / 3.14 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/4.573, allocations: 84.95 kB / 3.141 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/4.573, allocations: 0 / 3.141 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/4.574, allocations: 35.81 kB / 3.141 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/4.574, allocations: 8 kB / 3.141 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/4.574, allocations: 3.984 kB / 3.141 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.097e-05/4.574, allocations: 99.28 kB / 3.141 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009095/4.575, allocations: 112 kB / 3.141 GB, free: 145.1 MB / 0.8698 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 (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 Backend phase and start with SimCode phase: time 0.0006038/4.575, allocations: 0.7352 MB / 3.142 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001485/4.575, allocations: 76.06 kB / 3.142 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/4.575, allocations: 0 / 3.142 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/4.575, allocations: 40.14 kB / 3.142 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/4.576, allocations: 32.03 kB / 3.142 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/4.576, allocations: 155.2 kB / 3.142 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/4.576, allocations: 0.727 MB / 3.143 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/4.576, allocations: 4 kB / 3.143 GB, free: 143.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)