Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_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.376/1.376, allocations: 289.8 MB / 297.1 MB, free: 6.586 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.001073/0.001073, allocations: 185.2 kB / 366.3 MB, free: 1.957 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.113/1.113, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0008969/0.000897, allocations: 88 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2104/0.2113, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.6529, allocations: 116.3 MB / 0.9727 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.97/3.622, allocations: 2.074 GB / 3.046 GB, free: 2.258 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/3.623, allocations: 81.34 kB / 3.046 GB, free: 2.18 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.4338/4.057, allocations: 79.14 MB / 3.124 GB, free: 311.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/4.057, allocations: 8 kB / 3.124 GB, free: 311.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000822/4.057, allocations: 91.88 kB / 3.124 GB, free: 311.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/4.058, allocations: 226.6 kB / 3.124 GB, free: 311.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/4.058, allocations: 4 kB / 3.124 GB, free: 311.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/4.058, allocations: 11.94 kB / 3.124 GB, free: 311.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002383/4.058, allocations: 136.6 kB / 3.124 GB, free: 310.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/4.058, allocations: 214.8 kB / 3.124 GB, free: 310.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/4.058, allocations: 3.938 kB / 3.124 GB, free: 310.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/4.058, allocations: 0 / 3.124 GB, free: 310.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/4.058, allocations: 4 kB / 3.124 GB, free: 310.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/4.06, allocations: 0.9711 MB / 3.125 GB, free: 309.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/4.06, allocations: 134.5 kB / 3.125 GB, free: 309.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.104e-05/4.06, allocations: 52.89 kB / 3.126 GB, free: 309.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/4.06, allocations: 12.05 kB / 3.126 GB, free: 309.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/4.06, allocations: 34.56 kB / 3.126 GB, free: 309.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/4.06, allocations: 4 kB / 3.126 GB, free: 309.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0002932/4.06, allocations: 133.7 kB / 3.126 GB, free: 309.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.458e-05/4.06, allocations: 59.28 kB / 3.126 GB, free: 309.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.94e-05/4.06, allocations: 148.5 kB / 3.126 GB, free: 309 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/4.06, allocations: 25.7 kB / 3.126 GB, free: 309 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/4.06, allocations: 139.8 kB / 3.126 GB, free: 308.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/4.06, allocations: 39.55 kB / 3.126 GB, free: 308.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/4.06, allocations: 0 / 3.126 GB, free: 308.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 3.767e-05/4.06, allocations: 322.7 kB / 3.126 GB, free: 308.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/4.061, allocations: 55.98 kB / 3.126 GB, free: 308.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.725e-05/4.061, allocations: 99.53 kB / 3.127 GB, free: 308.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/4.061, allocations: 64 kB / 3.127 GB, free: 308.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/4.061, allocations: 0 / 3.127 GB, free: 308.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003033/4.061, allocations: 190.4 kB / 3.127 GB, free: 308.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/4.061, allocations: 8 kB / 3.127 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/4.061, allocations: 0 / 3.127 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/4.061, allocations: 7.906 kB / 3.127 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/4.061, allocations: 60.03 kB / 3.127 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/4.061, allocations: 4 kB / 3.127 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/4.062, allocations: 35.81 kB / 3.127 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/4.062, allocations: 15.97 kB / 3.127 GB, free: 307.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 5.539e-05/4.062, allocations: 108.9 kB / 3.127 GB, free: 307.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/4.062, allocations: 15.75 kB / 3.127 GB, free: 307.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/4.062, allocations: 239.5 kB / 3.127 GB, free: 307.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/4.062, allocations: 4 kB / 3.127 GB, free: 307.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/4.062, allocations: 4 kB / 3.127 GB, free: 307.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/4.062, allocations: 0 / 3.127 GB, free: 307.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/4.063, allocations: 245.9 kB / 3.127 GB, free: 307.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/4.063, allocations: 4 kB / 3.127 GB, free: 307.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/4.063, allocations: 59.89 kB / 3.128 GB, free: 307.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/4.063, allocations: 0 / 3.128 GB, free: 307.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/4.063, allocations: 0 / 3.128 GB, free: 307.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/4.063, allocations: 4 kB / 3.128 GB, free: 307.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/4.063, allocations: 4 kB / 3.128 GB, free: 307.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000282/4.063, allocations: 297.7 kB / 3.128 GB, free: 306.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003569/4.064, allocations: 0.6805 MB / 3.129 GB, free: 306.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/4.064, allocations: 96.91 kB / 3.129 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/4.064, allocations: 11.91 kB / 3.129 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/4.064, allocations: 11.98 kB / 3.129 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/4.064, allocations: 11.98 kB / 3.129 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/4.064, allocations: 11.98 kB / 3.129 GB, free: 306.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.486e-05/4.064, allocations: 112.9 kB / 3.129 GB, free: 305.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001056/4.065, allocations: 151.8 kB / 3.129 GB, free: 305.8 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 (23): * Single equations (assignments): 23 * 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.0007155/4.066, allocations: 0.8002 MB / 3.13 GB, free: 305 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002833/4.066, allocations: 156.3 kB / 3.13 GB, free: 304.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/4.066, allocations: 0 / 3.13 GB, free: 304.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/4.066, allocations: 83.92 kB / 3.13 GB, free: 304.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/4.067, allocations: 30.98 kB / 3.13 GB, free: 304.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/4.067, allocations: 259.6 kB / 3.13 GB, free: 304.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/4.068, allocations: 0.7708 MB / 3.131 GB, free: 303.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/4.068, allocations: 0 / 3.131 GB, free: 303.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1)