Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 1.872/1.872, allocations: 248.6 MB / 255.9 MB, free: 332 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001707/0.001707, allocations: 175.6 kB / 315.1 MB, free: 7.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.1 MB / 0.5658 GB, free: 25.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 81.75 kB / 0.67 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2453/0.2466, allocations: 112.4 MB / 0.7797 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.6818, allocations: 106.2 MB / 0.8835 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.812/5.494, allocations: 2.191 GB / 3.075 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/5.494, allocations: 88.08 kB / 3.075 GB, free: 238.8 MB / 0.8698 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.2788/5.773, allocations: 87.88 MB / 3.161 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/5.773, allocations: 8 kB / 3.161 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/5.774, allocations: 83.7 kB / 3.161 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/5.775, allocations: 226.9 kB / 3.161 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/5.775, allocations: 34.03 kB / 3.161 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/5.775, allocations: 8 kB / 3.161 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000392/5.775, allocations: 112.6 kB / 3.161 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/5.776, allocations: 214.4 kB / 3.161 GB, free: 198 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/5.776, allocations: 7.938 kB / 3.161 GB, free: 198 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/5.776, allocations: 0 / 3.161 GB, free: 198 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/5.776, allocations: 7.984 kB / 3.161 GB, free: 198 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/5.778, allocations: 1.142 MB / 3.162 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/5.779, allocations: 187.7 kB / 3.163 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/5.78, allocations: 52.84 kB / 3.163 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/5.78, allocations: 4 kB / 3.163 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/5.78, allocations: 38.5 kB / 3.163 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 2.675e-06/5.78, allocations: 0 / 3.163 GB, free: 196.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.002185/5.782, allocations: 263 kB / 3.163 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/5.782, allocations: 55.41 kB / 3.163 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/5.782, allocations: 141.9 kB / 3.163 GB, free: 196 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/5.782, allocations: 25.7 kB / 3.163 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/5.782, allocations: 135.9 kB / 3.163 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/5.782, allocations: 43.39 kB / 3.163 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/5.782, allocations: 0 / 3.163 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/5.782, allocations: 323 kB / 3.164 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/5.783, allocations: 56.36 kB / 3.164 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/5.783, allocations: 122.5 kB / 3.164 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/5.783, allocations: 64 kB / 3.164 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/5.783, allocations: 0 / 3.164 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002268/5.785, allocations: 319.4 kB / 3.164 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/5.785, allocations: 4 kB / 3.164 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/5.785, allocations: 0 / 3.164 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/5.787, allocations: 177.5 kB / 3.164 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/5.788, allocations: 39.95 kB / 3.164 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005153/5.793, allocations: 2.906 MB / 3.167 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006425/5.794, allocations: 27.83 kB / 3.167 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/5.794, allocations: 20.05 kB / 3.167 GB, free: 191.4 MB / 0.8698 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 0.0001145/5.794, allocations: 113.6 kB / 3.167 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/5.794, allocations: 7.906 kB / 3.167 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/5.796, allocations: 331.6 kB / 3.168 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/5.796, allocations: 4 kB / 3.168 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/5.796, allocations: 3.984 kB / 3.168 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/5.796, allocations: 4 kB / 3.168 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/5.796, allocations: 230 kB / 3.168 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/5.796, allocations: 0 / 3.168 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/5.797, allocations: 31.97 kB / 3.168 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/5.799, allocations: 169.4 kB / 3.168 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/5.799, allocations: 0 / 3.168 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004919/5.803, allocations: 2.941 MB / 3.171 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/5.804, allocations: 0 / 3.171 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00194/5.805, allocations: 393.5 kB / 3.171 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002091/5.808, allocations: 0.7773 MB / 3.172 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/5.808, allocations: 104.9 kB / 3.172 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/5.808, allocations: 4 kB / 3.172 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/5.808, allocations: 19.98 kB / 3.172 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/5.808, allocations: 7.984 kB / 3.172 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/5.809, allocations: 4 kB / 3.172 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001071/5.809, allocations: 119.2 kB / 3.172 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001679/5.81, allocations: 179.8 kB / 3.172 GB, free: 185.6 MB / 0.8698 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.001161/5.812, allocations: 0.8399 MB / 3.173 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001283/5.813, allocations: 375.8 kB / 3.174 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/5.813, allocations: 4 kB / 3.174 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009066/5.814, allocations: 307.5 kB / 3.174 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/5.814, allocations: 42.19 kB / 3.174 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/5.816, allocations: 309.5 kB / 3.174 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/5.816, allocations: 0.7608 MB / 3.175 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of SimCode: time 8.91e-07/5.816, allocations: 0 / 3.175 GB, free: 182.9 MB / 0.8698 GB