Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7717/0.7717, allocations: 141.8 MB / 149.1 MB, free: 12.76 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 176 kB / 182 MB, free: 9.504 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 221.3 MB / 436 MB, free: 1.996 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009653/0.0009654, allocations: 108.2 kB / 0.507 GB, free: 10.74 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 275 kB / 0.5885 GB, free: 7.57 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1687/0.1705, allocations: 89.64 MB / 0.676 GB, free: 13.84 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.5102, allocations: 82.77 MB / 0.7568 GB, free: 138.8 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.827/3.337, allocations: 1.691 GB / 2.447 GB, free: 49.89 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/3.338, allocations: 97.09 kB / 2.448 GB, free: 49.85 MB / 0.6982 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.438/3.776, allocations: 86.34 MB / 2.532 GB, free: 239.8 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/3.776, allocations: 9 kB / 2.532 GB, free: 239.8 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/3.777, allocations: 91.06 kB / 2.532 GB, free: 239.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/3.777, allocations: 229.5 kB / 2.532 GB, free: 239.6 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.4e-05/3.777, allocations: 33.44 kB / 2.532 GB, free: 239.6 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/3.777, allocations: 9.156 kB / 2.532 GB, free: 239.6 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003566/3.778, allocations: 113.7 kB / 2.532 GB, free: 239.5 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/3.778, allocations: 218.5 kB / 2.533 GB, free: 239.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/3.778, allocations: 1.344 kB / 2.533 GB, free: 239.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/3.778, allocations: 0.625 kB / 2.533 GB, free: 239.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/3.778, allocations: 4.438 kB / 2.533 GB, free: 239.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/3.78, allocations: 1.15 MB / 2.534 GB, free: 238.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008164/3.781, allocations: 179.8 kB / 2.534 GB, free: 238.4 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/3.781, allocations: 57.31 kB / 2.534 GB, free: 238.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/3.781, allocations: 5.125 kB / 2.534 GB, free: 238.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/3.781, allocations: 44.69 kB / 2.534 GB, free: 238.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=12): time 1.704e-06/3.781, allocations: 0 / 2.534 GB, free: 238.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=12): time 0.001401/3.783, allocations: 262.2 kB / 2.534 GB, free: 238.2 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/3.783, allocations: 61.97 kB / 2.534 GB, free: 238.1 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/3.783, allocations: 137.4 kB / 2.534 GB, free: 238 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/3.783, allocations: 25.7 kB / 2.534 GB, free: 238 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/3.783, allocations: 142.6 kB / 2.535 GB, free: 237.9 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/3.783, allocations: 36.48 kB / 2.535 GB, free: 237.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/3.783, allocations: 1 kB / 2.535 GB, free: 237.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/3.783, allocations: 325.2 kB / 2.535 GB, free: 237.5 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/3.783, allocations: 51.47 kB / 2.535 GB, free: 237.5 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/3.783, allocations: 116.1 kB / 2.535 GB, free: 237.4 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/3.783, allocations: 62.66 kB / 2.535 GB, free: 237.4 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/3.783, allocations: 0.9062 kB / 2.535 GB, free: 237.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001351/3.785, allocations: 318.5 kB / 2.535 GB, free: 237.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/3.785, allocations: 9.562 kB / 2.535 GB, free: 237.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/3.785, allocations: 2.688 kB / 2.535 GB, free: 237.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/3.786, allocations: 168.2 kB / 2.536 GB, free: 237.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/3.786, allocations: 42.94 kB / 2.536 GB, free: 237.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/3.79, allocations: 2.902 MB / 2.538 GB, free: 234.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/3.79, allocations: 38.22 kB / 2.539 GB, free: 234.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/3.79, allocations: 12.94 kB / 2.539 GB, free: 234.6 MB / 0.6982 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 8.544e-05/3.79, allocations: 107.3 kB / 2.539 GB, free: 234.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/3.79, allocations: 14.88 kB / 2.539 GB, free: 234.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/3.791, allocations: 329.2 kB / 2.539 GB, free: 234.3 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/3.791, allocations: 2.328 kB / 2.539 GB, free: 234.3 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/3.792, allocations: 0.875 kB / 2.539 GB, free: 234.3 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/3.792, allocations: 4.656 kB / 2.539 GB, free: 234.3 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/3.792, allocations: 232.8 kB / 2.539 GB, free: 234.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/3.792, allocations: 0.6875 kB / 2.539 GB, free: 234.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/3.792, allocations: 31.64 kB / 2.539 GB, free: 234.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/3.793, allocations: 162.4 kB / 2.539 GB, free: 234.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/3.793, allocations: 1.781 kB / 2.539 GB, free: 234.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/3.796, allocations: 2.946 MB / 2.542 GB, free: 231.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/3.796, allocations: 0.6562 kB / 2.542 GB, free: 231.3 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001139/3.797, allocations: 395.6 kB / 2.543 GB, free: 231.1 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001227/3.799, allocations: 0.7749 MB / 2.543 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/3.799, allocations: 109.5 kB / 2.543 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/3.799, allocations: 0.9062 kB / 2.543 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/3.799, allocations: 14.08 kB / 2.544 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/3.799, allocations: 12.14 kB / 2.544 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/3.799, allocations: 12.61 kB / 2.544 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 8.17e-05/3.799, allocations: 118.6 kB / 2.544 GB, free: 230.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001216/3.8, allocations: 173.7 kB / 2.544 GB, free: 230.1 MB / 0.6982 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.001474/3.802, allocations: 0.8466 MB / 2.545 GB, free: 229.7 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0009127/3.803, allocations: 381.2 kB / 2.545 GB, free: 229.3 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/3.803, allocations: 0 / 2.545 GB, free: 229.3 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0005054/3.803, allocations: 303.5 kB / 2.545 GB, free: 229 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/3.804, allocations: 35.97 kB / 2.545 GB, free: 229 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/3.805, allocations: 319.4 kB / 2.546 GB, free: 228.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/3.805, allocations: 0.7569 MB / 2.546 GB, free: 227.9 MB / 0.6982 GB Notification: Performance of SimCode: time 2.71e-07/3.805, allocations: 0 / 2.546 GB, free: 227.9 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)