Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",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 2.164/2.164, allocations: 248.6 MB / 255.9 MB, free: 7.125 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.001767/0.001767, allocations: 185.2 kB / 315.1 MB, free: 4.254 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.959/1.959, allocations: 205.2 MB / 0.5658 GB, free: 348 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.001247/0.001247, allocations: 87.34 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4989/0.5002, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.7265, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.444/2.171, allocations: 382.5 MB / 1.257 GB, free: 250 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/2.171, allocations: 86.88 kB / 1.257 GB, free: 250 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 4.071/6.242, allocations: 0.9093 GB / 2.166 GB, free: 73.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/6.242, allocations: 8 kB / 2.166 GB, free: 73.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006301/6.249, allocations: 0.6612 MB / 2.167 GB, free: 72.62 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006769/6.255, allocations: 1.496 MB / 2.168 GB, free: 71.12 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.704e-05/6.256, allocations: 32 kB / 2.168 GB, free: 71.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004024/6.256, allocations: 71.91 kB / 2.169 GB, free: 71.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003145/6.259, allocations: 0.8631 MB / 2.169 GB, free: 70.15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003085/6.262, allocations: 1.052 MB / 2.17 GB, free: 69.03 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/6.262, allocations: 0 / 2.17 GB, free: 69.03 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/6.262, allocations: 4 kB / 2.17 GB, free: 69.03 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/6.263, allocations: 24 kB / 2.17 GB, free: 69 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/6.28, allocations: 6.476 MB / 2.177 GB, free: 62.14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/6.284, allocations: 0.8546 MB / 2.178 GB, free: 61.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/6.286, allocations: 0.5107 MB / 2.178 GB, free: 60.76 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003066/6.29, allocations: 2.262 MB / 2.18 GB, free: 58.01 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002475/6.292, allocations: 0.6465 MB / 2.181 GB, free: 57.33 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=100): time 8.697e-06/6.292, allocations: 0 / 2.181 GB, free: 57.33 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100): time 0.009436/6.302, allocations: 1.367 MB / 2.182 GB, free: 55.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/6.302, allocations: 155.8 kB / 2.182 GB, free: 55.78 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003013/6.305, allocations: 0.8946 MB / 2.183 GB, free: 54.87 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000476/6.305, allocations: 29.7 kB / 2.183 GB, free: 54.83 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006419/6.306, allocations: 454.2 kB / 2.184 GB, free: 54.38 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008228/6.307, allocations: 307.3 kB / 2.184 GB, free: 54.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/6.307, allocations: 7.938 kB / 2.184 GB, free: 54.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001519/6.307, allocations: 349.8 kB / 2.184 GB, free: 53.72 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/6.309, allocations: 409.9 kB / 2.185 GB, free: 53.32 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/6.311, allocations: 0.6628 MB / 2.185 GB, free: 52.54 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00601/6.317, allocations: 0.7278 MB / 2.186 GB, free: 51.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-05/6.317, allocations: 8 kB / 2.186 GB, free: 51.81 MB / 0.8698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.009748/6.327, allocations: 1.476 MB / 2.188 GB, free: 50.33 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004798/6.328, allocations: 1.613 MB / 2.189 GB, free: 48.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/6.328, allocations: 4 kB / 2.189 GB, free: 48.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.675e-05/6.328, allocations: 8 kB / 2.189 GB, free: 48.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004087/6.332, allocations: 302.1 kB / 2.189 GB, free: 48.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.533e-05/6.332, allocations: 10.73 kB / 2.189 GB, free: 48.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004815/6.337, allocations: 211 kB / 2.19 GB, free: 48.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006152/6.338, allocations: 59.97 kB / 2.19 GB, free: 47.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/6.338, allocations: 6.5 kB / 2.19 GB, free: 47.98 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008917/6.347, allocations: 1.293 MB / 2.191 GB, free: 46.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/6.347, allocations: 4 kB / 2.191 GB, free: 46.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/6.347, allocations: 8 kB / 2.191 GB, free: 46.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/6.351, allocations: 292.1 kB / 2.191 GB, free: 46.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-05/6.351, allocations: 11.94 kB / 2.191 GB, free: 46.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00477/6.356, allocations: 211.1 kB / 2.191 GB, free: 46.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005767/6.356, allocations: 63.95 kB / 2.192 GB, free: 46.11 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0007331/6.357, allocations: 239.9 kB / 2.192 GB, free: 45.85 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007497/6.358, allocations: 154.1 kB / 2.192 GB, free: 45.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/6.371, allocations: 2.118 MB / 2.194 GB, free: 43.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.719e-05/6.371, allocations: 23.27 kB / 2.194 GB, free: 43.55 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/6.371, allocations: 0 / 2.194 GB, free: 43.55 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.211e-05/6.371, allocations: 3.984 kB / 2.194 GB, free: 43.55 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/6.387, allocations: 3.213 MB / 2.197 GB, free: 40.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/6.387, allocations: 4 kB / 2.197 GB, free: 40.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/6.389, allocations: 248.5 kB / 2.197 GB, free: 40.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.095e-05/6.389, allocations: 9.531 kB / 2.197 GB, free: 40.06 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/6.389, allocations: 31.97 kB / 2.197 GB, free: 40.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/6.389, allocations: 7.938 kB / 2.197 GB, free: 40.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/6.389, allocations: 7.906 kB / 2.197 GB, free: 40.01 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008827/6.398, allocations: 2.664 MB / 2.2 GB, free: 37.27 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01047/6.409, allocations: 3.933 MB / 2.204 GB, free: 33.26 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/6.41, allocations: 407.9 kB / 2.204 GB, free: 32.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000628/6.411, allocations: 12 kB / 2.204 GB, free: 32.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002739/6.414, allocations: 170.4 kB / 2.204 GB, free: 32.67 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/6.414, allocations: 68.81 kB / 2.205 GB, free: 32.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002059/6.414, allocations: 59.97 kB / 2.205 GB, free: 32.54 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001533/6.416, allocations: 0.68 MB / 2.205 GB, free: 31.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006854/6.423, allocations: 1.135 MB / 2.206 GB, free: 30.73 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.002576/6.425, allocations: 0.9806 MB / 2.207 GB, free: 29.85 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004633/6.43, allocations: 1.923 MB / 2.209 GB, free: 27.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/6.43, allocations: 0 / 2.209 GB, free: 27.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/6.432, allocations: 0.8227 MB / 2.21 GB, free: 27.05 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005154/6.437, allocations: 0.5235 MB / 2.211 GB, free: 26.55 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00812/6.445, allocations: 2.511 MB / 2.213 GB, free: 24.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/6.447, allocations: 1.51 MB / 2.214 GB, free: 22.47 MB / 0.8698 GB Notification: Performance of SimCode: time 1.683e-06/6.448, allocations: 0 / 2.214 GB, free: 22.47 MB / 0.8698 GB