Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.662/1.662, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.001084/0.001084, allocations: 181.3 kB / 366.3 MB, free: 1.965 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.499/1.499, allocations: 205.1 MB / 0.6256 GB, free: 7.434 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.001003/0.001003, allocations: 84.19 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2997/0.3008, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.605/0.9058, allocations: 116.3 MB / 0.9726 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.051/4.957, allocations: 2.074 GB / 3.047 GB, free: 40.54 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/4.957, allocations: 83.95 kB / 3.047 GB, free: 40.45 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.7051/5.662, allocations: 90.46 MB / 3.135 GB, free: 319.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/5.662, allocations: 8.281 kB / 3.135 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009105/5.663, allocations: 91.59 kB / 3.135 GB, free: 319.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/5.664, allocations: 223.7 kB / 3.136 GB, free: 319.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/5.664, allocations: 33.97 kB / 3.136 GB, free: 319.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/5.664, allocations: 8.844 kB / 3.136 GB, free: 319.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002583/5.664, allocations: 112 kB / 3.136 GB, free: 319.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/5.664, allocations: 222.7 kB / 3.136 GB, free: 319.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/5.664, allocations: 0 / 3.136 GB, free: 319.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/5.665, allocations: 2.938 kB / 3.136 GB, free: 319.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/5.665, allocations: 2.75 kB / 3.136 GB, free: 319.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/5.666, allocations: 1.144 MB / 3.137 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/5.667, allocations: 186.7 kB / 3.137 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/5.667, allocations: 57.28 kB / 3.137 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/5.667, allocations: 3.516 kB / 3.137 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/5.667, allocations: 37.31 kB / 3.137 GB, free: 318.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 2.625e-06/5.667, allocations: 0 / 3.137 GB, free: 318.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.001408/5.669, allocations: 261.5 kB / 3.138 GB, free: 318.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/5.669, allocations: 51.41 kB / 3.138 GB, free: 318.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/5.669, allocations: 139.8 kB / 3.138 GB, free: 318 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/5.669, allocations: 33.17 kB / 3.138 GB, free: 318 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/5.669, allocations: 132.6 kB / 3.138 GB, free: 317.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/5.669, allocations: 49.84 kB / 3.138 GB, free: 317.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/5.669, allocations: 4 kB / 3.138 GB, free: 317.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/5.669, allocations: 327.9 kB / 3.138 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/5.669, allocations: 49.59 kB / 3.138 GB, free: 317.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/5.67, allocations: 110.3 kB / 3.138 GB, free: 317.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/5.67, allocations: 65.83 kB / 3.139 GB, free: 317.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/5.67, allocations: 0 / 3.139 GB, free: 317.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001296/5.671, allocations: 322.9 kB / 3.139 GB, free: 317.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/5.671, allocations: 5.781 kB / 3.139 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/5.671, allocations: 0 / 3.139 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/5.672, allocations: 165 kB / 3.139 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/5.673, allocations: 42.17 kB / 3.139 GB, free: 317.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/5.676, allocations: 2.911 MB / 3.142 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/5.677, allocations: 33.23 kB / 3.142 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/5.677, allocations: 14.2 kB / 3.142 GB, free: 314.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 9.211e-05/5.677, allocations: 107.8 kB / 3.142 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/5.677, allocations: 13.62 kB / 3.142 GB, free: 314.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/5.678, allocations: 331.3 kB / 3.142 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/5.678, allocations: 2.75 kB / 3.142 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/5.678, allocations: 0 / 3.142 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/5.678, allocations: 0 / 3.142 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/5.679, allocations: 236.2 kB / 3.143 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/5.679, allocations: 0 / 3.143 GB, free: 314.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/5.679, allocations: 31.61 kB / 3.143 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/5.68, allocations: 162 kB / 3.143 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/5.68, allocations: 0 / 3.143 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/5.683, allocations: 2.947 MB / 3.146 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/5.683, allocations: 0 / 3.146 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001119/5.684, allocations: 393.6 kB / 3.146 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001325/5.686, allocations: 0.7709 MB / 3.147 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/5.686, allocations: 114.5 kB / 3.147 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/5.686, allocations: 0 / 3.147 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/5.686, allocations: 29.14 kB / 3.147 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/5.686, allocations: 9.219 kB / 3.147 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/5.686, allocations: 5.688 kB / 3.147 GB, free: 310.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.084e-05/5.686, allocations: 118.6 kB / 3.147 GB, free: 310.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001384/5.688, allocations: 176.2 kB / 3.147 GB, free: 310.2 MB / 0.948 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001322/5.689, allocations: 0.8291 MB / 3.148 GB, free: 309.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008802/5.69, allocations: 377.4 kB / 3.148 GB, free: 309.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/5.69, allocations: 3.938 kB / 3.148 GB, free: 309.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005588/5.691, allocations: 306.7 kB / 3.149 GB, free: 309.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/5.691, allocations: 44.75 kB / 3.149 GB, free: 309.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/5.692, allocations: 312.9 kB / 3.149 GB, free: 309.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/5.692, allocations: 0.7671 MB / 3.15 GB, free: 308.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/5.692, allocations: 3.938 kB / 3.15 GB, free: 308.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)