Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",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.126/2.126, allocations: 248.6 MB / 255.9 MB, free: 7.066 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.00249/0.00249, allocations: 187 kB / 315.1 MB, free: 4.223 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.979/1.979, allocations: 205.1 MB / 0.5658 GB, free: 256 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.001396/0.001395, allocations: 96.75 kB / 0.67 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4903/0.4917, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.7049, allocations: 106.2 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6904/1.395, allocations: 134.7 MB / 1.015 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/1.396, allocations: 91.12 kB / 1.015 GB, free: 5.352 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.02005/1.416, allocations: 4.858 MB / 1.02 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.416, allocations: 8 kB / 1.02 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/1.416, allocations: 31.62 kB / 1.02 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/1.416, allocations: 264.9 kB / 1.02 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/1.417, allocations: 8 kB / 1.02 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.571e-05/1.417, allocations: 20 kB / 1.02 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007069/1.417, allocations: 198.9 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/1.418, allocations: 262 kB / 1.021 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.418, allocations: 4 kB / 1.021 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/1.418, allocations: 0 / 1.021 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/1.418, allocations: 12.81 kB / 1.021 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/1.421, allocations: 0.901 MB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007209/1.421, allocations: 205 kB / 1.022 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/1.422, allocations: 110.1 kB / 1.022 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/1.422, allocations: 4.234 kB / 1.022 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/1.422, allocations: 126.6 kB / 1.022 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 3.356e-06/1.422, allocations: 4 kB / 1.022 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.0006195/1.423, allocations: 191.9 kB / 1.022 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/1.423, allocations: 63.39 kB / 1.022 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/1.423, allocations: 167 kB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/1.423, allocations: 44.5 kB / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/1.423, allocations: 136.3 kB / 1.022 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/1.423, allocations: 72.06 kB / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/1.423, allocations: 0 / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.424, allocations: 339.8 kB / 1.023 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/1.424, allocations: 80.02 kB / 1.023 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/1.424, allocations: 125.4 kB / 1.023 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/1.424, allocations: 78.84 kB / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.424, allocations: 4 kB / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006726/1.425, allocations: 248.1 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.425, allocations: 4 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.425, allocations: 4 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/1.425, allocations: 4 kB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/1.426, allocations: 39.91 kB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/1.426, allocations: 8.703 kB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/1.426, allocations: 43.81 kB / 1.023 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/1.426, allocations: 14.92 kB / 1.024 GB, free: 14.01 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001595/1.426, allocations: 127 kB / 1.024 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/1.426, allocations: 19.72 kB / 1.024 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000723/1.427, allocations: 227.8 kB / 1.024 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.427, allocations: 4 kB / 1.024 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.427, allocations: 4 kB / 1.024 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/1.427, allocations: 3.984 kB / 1.024 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/1.429, allocations: 0.6133 MB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.429, allocations: 0 / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/1.429, allocations: 43.62 kB / 1.025 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/1.429, allocations: 4 kB / 1.025 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/1.429, allocations: 0 / 1.025 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/1.429, allocations: 3.938 kB / 1.025 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.429, allocations: 4 kB / 1.025 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006093/1.43, allocations: 299.4 kB / 1.025 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007083/1.43, allocations: 0.6764 MB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.227e-05/1.43, allocations: 100.8 kB / 1.026 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/1.43, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/1.431, allocations: 35.97 kB / 1.026 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.431, allocations: 35.12 kB / 1.026 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/1.431, allocations: 15.61 kB / 1.026 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001331/1.431, allocations: 124.5 kB / 1.026 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001294/1.433, allocations: 47.91 kB / 1.026 GB, free: 11.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002375/1.433, allocations: 120 kB / 1.026 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000659/1.433, allocations: 209.9 kB / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.433, allocations: 0 / 1.026 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/1.434, allocations: 120.5 kB / 1.026 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/1.434, allocations: 20.3 kB / 1.026 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/1.435, allocations: 308.4 kB / 1.027 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006261/1.436, allocations: 0.7977 MB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/1.436, allocations: 0 / 1.027 GB, free: 10.38 MB / 0.6511 GB