Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8645/0.8645, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 189.2 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.1 MB / 399.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008976/0.0008975, allocations: 80.66 kB / 476.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3407/0.3417, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.5126, allocations: 76.74 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.645/5.158, allocations: 2.149 GB / 2.77 GB, free: 64.17 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/5.158, allocations: 87.94 kB / 2.77 GB, free: 64.09 MB / 0.6355 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.4413/5.599, allocations: 89.54 MB / 2.857 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/5.599, allocations: 8.031 kB / 2.857 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008503/5.6, allocations: 89.09 kB / 2.857 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/5.601, allocations: 229.1 kB / 2.857 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.026e-05/5.601, allocations: 36.78 kB / 2.857 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/5.601, allocations: 13.91 kB / 2.857 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002713/5.601, allocations: 111.5 kB / 2.858 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/5.601, allocations: 212.9 kB / 2.858 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/5.601, allocations: 0 / 2.858 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/5.601, allocations: 6.281 kB / 2.858 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/5.601, allocations: 2.594 kB / 2.858 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/5.603, allocations: 1.146 MB / 2.859 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006858/5.604, allocations: 179.2 kB / 2.859 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/5.604, allocations: 62.45 kB / 2.859 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/5.604, allocations: 0 / 2.859 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/5.604, allocations: 34.03 kB / 2.859 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/5.604, allocations: 0 / 2.859 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.00133/5.605, allocations: 270.3 kB / 2.859 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/5.605, allocations: 51.41 kB / 2.859 GB, free: 197.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/5.605, allocations: 148.8 kB / 2.86 GB, free: 197.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/5.605, allocations: 25.7 kB / 2.86 GB, free: 197.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/5.606, allocations: 133.8 kB / 2.86 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/5.606, allocations: 43.2 kB / 2.86 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/5.606, allocations: 0 / 2.86 GB, free: 197.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/5.606, allocations: 325.3 kB / 2.86 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/5.606, allocations: 44.55 kB / 2.86 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/5.606, allocations: 121.8 kB / 2.86 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/5.606, allocations: 65.92 kB / 2.86 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/5.606, allocations: 0 / 2.86 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001264/5.607, allocations: 318 kB / 2.861 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/5.607, allocations: 6.625 kB / 2.861 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/5.607, allocations: 0 / 2.861 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/5.609, allocations: 167 kB / 2.861 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/5.609, allocations: 49.22 kB / 2.861 GB, free: 196.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/5.612, allocations: 2.906 MB / 2.864 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/5.612, allocations: 34.97 kB / 2.864 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/5.613, allocations: 12.59 kB / 2.864 GB, free: 194.2 MB / 0.6355 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.395e-05/5.613, allocations: 114.3 kB / 2.864 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/5.613, allocations: 10.91 kB / 2.864 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/5.614, allocations: 327.6 kB / 2.864 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/5.614, allocations: 6.594 kB / 2.864 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/5.614, allocations: 2.188 kB / 2.864 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/5.614, allocations: 0 / 2.864 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/5.614, allocations: 235.1 kB / 2.864 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/5.614, allocations: 3.938 kB / 2.864 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/5.614, allocations: 31.8 kB / 2.864 GB, free: 193.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009716/5.615, allocations: 168.1 kB / 2.865 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/5.615, allocations: 2.156 kB / 2.865 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/5.618, allocations: 2.944 MB / 2.867 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/5.618, allocations: 0 / 2.867 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001074/5.619, allocations: 394.3 kB / 2.868 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001283/5.621, allocations: 0.7726 MB / 2.869 GB, free: 190.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/5.621, allocations: 110.9 kB / 2.869 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/5.621, allocations: 0 / 2.869 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/5.621, allocations: 16.61 kB / 2.869 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/5.621, allocations: 12.75 kB / 2.869 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/5.621, allocations: 8.969 kB / 2.869 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.132e-05/5.621, allocations: 125.5 kB / 2.869 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001273/5.623, allocations: 179.6 kB / 2.869 GB, free: 190.4 MB / 0.6355 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.0008634/5.623, allocations: 0.8358 MB / 2.87 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007845/5.624, allocations: 379.4 kB / 2.87 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/5.624, allocations: 0 / 2.87 GB, free: 189.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/5.625, allocations: 311.5 kB / 2.87 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/5.625, allocations: 35.17 kB / 2.871 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/5.626, allocations: 312.5 kB / 2.871 GB, free: 189.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/5.626, allocations: 0.7635 MB / 2.872 GB, free: 188.8 MB / 0.6355 GB Notification: Performance of SimCode: time 2.9e-07/5.626, allocations: 2.531 kB / 2.872 GB, free: 188.8 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)