Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001718/0.001718, allocations: 173.3 kB / 366.3 MB, free: 2.035 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.756/1.756, allocations: 205.2 MB / 0.6256 GB, free: 5.863 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.001023/0.001023, allocations: 85.7 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3083/0.3094, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/1.1, allocations: 116.3 MB / 0.9726 GB, free: 67.98 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/1.326, allocations: 165.3 MB / 1.134 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/1.327, allocations: 76.55 kB / 1.134 GB, free: 15.07 MB / 0.7448 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.006074/1.333, allocations: 2.23 MB / 1.136 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.333, allocations: 8 kB / 1.136 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/1.333, allocations: 8 kB / 1.136 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/1.333, allocations: 168.5 kB / 1.137 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/1.333, allocations: 0 / 1.137 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/1.333, allocations: 4 kB / 1.137 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001081/1.333, allocations: 23.94 kB / 1.137 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.8e-05/1.333, allocations: 41.69 kB / 1.137 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/1.333, allocations: 0 / 1.137 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/1.333, allocations: 3.906 kB / 1.137 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/1.333, allocations: 7.984 kB / 1.137 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/1.334, allocations: 257.4 kB / 1.137 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.518e-05/1.334, allocations: 30.52 kB / 1.137 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/1.334, allocations: 16.86 kB / 1.137 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/1.334, allocations: 89.19 kB / 1.137 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/1.334, allocations: 38.56 kB / 1.137 GB, free: 12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/1.334, allocations: 0 / 1.137 GB, free: 12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002798/1.334, allocations: 53.59 kB / 1.137 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/1.334, allocations: 52.16 kB / 1.137 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/1.334, allocations: 102.8 kB / 1.137 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/1.335, allocations: 25.7 kB / 1.137 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/1.335, allocations: 92.08 kB / 1.137 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/1.335, allocations: 7.812 kB / 1.137 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/1.335, allocations: 0 / 1.137 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.335, allocations: 326.8 kB / 1.138 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/1.335, allocations: 7.938 kB / 1.138 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/1.335, allocations: 8 kB / 1.138 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.799e-05/1.335, allocations: 15.98 kB / 1.138 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.335, allocations: 0 / 1.138 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001364/1.335, allocations: 57.59 kB / 1.138 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.335, allocations: 4 kB / 1.138 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.335, allocations: 0 / 1.138 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.335, allocations: 0 / 1.138 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/1.335, allocations: 35.92 kB / 1.138 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/1.335, allocations: 0 / 1.138 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/1.335, allocations: 21.58 kB / 1.138 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/1.335, allocations: 0 / 1.138 GB, free: 11.16 MB / 0.7448 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 7.162e-05/1.336, allocations: 105 kB / 1.138 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/1.336, allocations: 7.906 kB / 1.138 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/1.336, allocations: 65.61 kB / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.336, allocations: 0 / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.336, allocations: 0 / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.336, allocations: 4 kB / 1.138 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/1.336, allocations: 150.1 kB / 1.138 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.336, allocations: 0 / 1.138 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/1.336, allocations: 27.97 kB / 1.138 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.336, allocations: 0 / 1.138 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.336, allocations: 4 kB / 1.138 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/1.336, allocations: 0 / 1.138 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.336, allocations: 0 / 1.138 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001944/1.336, allocations: 151.4 kB / 1.138 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003118/1.337, allocations: 0.5262 MB / 1.139 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/1.337, allocations: 86.05 kB / 1.139 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/1.337, allocations: 4 kB / 1.139 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/1.337, allocations: 15.98 kB / 1.139 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/1.337, allocations: 7.984 kB / 1.139 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/1.337, allocations: 4 kB / 1.139 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.346e-05/1.337, allocations: 87.84 kB / 1.139 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000915/1.338, allocations: 19.84 kB / 1.139 GB, free: 9.797 MB / 0.7448 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.0002591/1.338, allocations: 139.2 kB / 1.139 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001205/1.338, allocations: 33.98 kB / 1.139 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.338, allocations: 0 / 1.139 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.847e-05/1.338, allocations: 12 kB / 1.139 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/1.339, allocations: 12 kB / 1.139 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/1.339, allocations: 71.77 kB / 1.139 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/1.339, allocations: 0.7052 MB / 1.14 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/1.339, allocations: 0 / 1.14 GB, free: 8.777 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)