Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.951/1.951, allocations: 248.6 MB / 255.9 MB, free: 7.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001643/0.001642, allocations: 186.8 kB / 315.1 MB, free: 4.301 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.662/1.662, allocations: 205.1 MB / 0.5658 GB, free: 384 kB / 410.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: 87.09 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.401/0.4023, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.581, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.816/5.397, allocations: 2.175 GB / 3.059 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/5.398, allocations: 78.95 kB / 3.059 GB, free: 193.9 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.1725/5.57, allocations: 56.89 MB / 3.114 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/5.57, allocations: 8 kB / 3.114 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/5.571, allocations: 55.83 kB / 3.114 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/5.572, allocations: 206.8 kB / 3.114 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/5.572, allocations: 8 kB / 3.114 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/5.572, allocations: 4 kB / 3.114 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003029/5.572, allocations: 83.88 kB / 3.115 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/5.572, allocations: 139.8 kB / 3.115 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/5.572, allocations: 7.938 kB / 3.115 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/5.572, allocations: 0 / 3.115 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/5.572, allocations: 0 / 3.115 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/5.574, allocations: 0.81 MB / 3.115 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/5.574, allocations: 90.56 kB / 3.116 GB, free: 143 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/5.574, allocations: 48.84 kB / 3.116 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/5.574, allocations: 4 kB / 3.116 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/5.574, allocations: 30.56 kB / 3.116 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/5.574, allocations: 0 / 3.116 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.001332/5.576, allocations: 198.4 kB / 3.116 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/5.576, allocations: 51.41 kB / 3.116 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/5.576, allocations: 117.1 kB / 3.116 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/5.576, allocations: 29.7 kB / 3.116 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/5.576, allocations: 108 kB / 3.116 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/5.576, allocations: 31.48 kB / 3.116 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.76e-05/5.576, allocations: 0 / 3.116 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.992e-05/5.576, allocations: 322.8 kB / 3.116 GB, free: 142 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/5.576, allocations: 36 kB / 3.116 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/5.576, allocations: 97.86 kB / 3.117 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/5.576, allocations: 40.06 kB / 3.117 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/5.576, allocations: 7.984 kB / 3.117 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001258/5.578, allocations: 214.1 kB / 3.117 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/5.578, allocations: 8 kB / 3.117 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/5.578, allocations: 0 / 3.117 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/5.579, allocations: 88.89 kB / 3.117 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/5.579, allocations: 39.97 kB / 3.117 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/5.582, allocations: 1.48 MB / 3.118 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/5.582, allocations: 43.92 kB / 3.118 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/5.582, allocations: 4 kB / 3.118 GB, free: 139.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 9.499e-05/5.582, allocations: 112.9 kB / 3.119 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/5.583, allocations: 7.906 kB / 3.119 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/5.584, allocations: 255.2 kB / 3.119 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/5.584, allocations: 0 / 3.119 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/5.584, allocations: 4 kB / 3.119 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/5.584, allocations: 0 / 3.119 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/5.584, allocations: 202.1 kB / 3.119 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/5.584, allocations: 0 / 3.119 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/5.585, allocations: 35.97 kB / 3.119 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009157/5.585, allocations: 92.89 kB / 3.119 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/5.586, allocations: 7.984 kB / 3.119 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/5.588, allocations: 1.507 MB / 3.121 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/5.588, allocations: 3.938 kB / 3.121 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001156/5.589, allocations: 317.4 kB / 3.121 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001302/5.591, allocations: 0.6885 MB / 3.122 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/5.591, allocations: 89 kB / 3.122 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/5.591, allocations: 0 / 3.122 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/5.591, allocations: 23.98 kB / 3.122 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/5.591, allocations: 15.95 kB / 3.122 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/5.591, allocations: 15.92 kB / 3.122 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.787e-05/5.591, allocations: 96.53 kB / 3.122 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001454/5.593, allocations: 123.9 kB / 3.122 GB, free: 136 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009198/5.594, allocations: 0.7277 MB / 3.123 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007699/5.594, allocations: 221.8 kB / 3.123 GB, free: 135 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/5.594, allocations: 4.25 kB / 3.123 GB, free: 135 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005304/5.595, allocations: 177.7 kB / 3.123 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/5.595, allocations: 19.89 kB / 3.123 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/5.596, allocations: 227.3 kB / 3.123 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/5.597, allocations: 0.7345 MB / 3.124 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of SimCode: time 7.02e-07/5.597, allocations: 0 / 3.124 GB, free: 133.8 MB / 0.8698 GB