Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl",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.211/2.211, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.002857/0.002856, allocations: 186.1 kB / 315.1 MB, free: 4.242 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.957/1.957, allocations: 205.1 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.001275/0.001275, allocations: 101.4 kB / 0.67 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4818/0.4831, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.7001, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6678/1.368, allocations: 135.2 MB / 1.016 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/1.368, allocations: 96.56 kB / 1.016 GB, free: 4.973 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.02064/1.389, allocations: 4.894 MB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/1.389, allocations: 12 kB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/1.389, allocations: 31.62 kB / 1.02 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005046/1.39, allocations: 276.3 kB / 1.021 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/1.39, allocations: 8 kB / 1.021 GB, free: 496 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-05/1.39, allocations: 20 kB / 1.021 GB, free: 476 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007758/1.391, allocations: 208.3 kB / 1.021 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007427/1.391, allocations: 272.9 kB / 1.021 GB, free: 132 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/1.392, allocations: 0 / 1.021 GB, free: 132 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/1.392, allocations: 3.875 kB / 1.021 GB, free: 132 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/1.392, allocations: 8 kB / 1.021 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/1.394, allocations: 0.8827 MB / 1.022 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/1.395, allocations: 210.8 kB / 1.022 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/1.395, allocations: 98.59 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/1.395, allocations: 4 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003586/1.395, allocations: 150.3 kB / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 3.576e-06/1.395, allocations: 0 / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0006186/1.396, allocations: 196.5 kB / 1.023 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/1.396, allocations: 55.41 kB / 1.023 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/1.396, allocations: 161.2 kB / 1.023 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.637e-05/1.396, allocations: 36.08 kB / 1.023 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/1.397, allocations: 147 kB / 1.023 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.806e-05/1.397, allocations: 76.11 kB / 1.023 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/1.397, allocations: 0 / 1.023 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.397, allocations: 336.8 kB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/1.397, allocations: 82.75 kB / 1.024 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/1.398, allocations: 132.5 kB / 1.024 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/1.398, allocations: 90.8 kB / 1.024 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.398, allocations: 0 / 1.024 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007173/1.399, allocations: 264.5 kB / 1.024 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.399, allocations: 4 kB / 1.024 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.399, allocations: 4 kB / 1.024 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/1.399, allocations: 12.14 kB / 1.024 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/1.399, allocations: 47.59 kB / 1.024 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.399, allocations: 7.938 kB / 1.024 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/1.4, allocations: 47.8 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.638e-05/1.4, allocations: 15.56 kB / 1.024 GB, free: 13.56 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: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0001701/1.4, allocations: 127.4 kB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/1.4, allocations: 19.72 kB / 1.024 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007052/1.401, allocations: 227.7 kB / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.401, allocations: 4 kB / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.401, allocations: 0 / 1.024 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.401, allocations: 3.984 kB / 1.024 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/1.402, allocations: 0.63 MB / 1.025 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.402, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/1.403, allocations: 35.91 kB / 1.025 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/1.403, allocations: 4 kB / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/1.403, allocations: 7.562 kB / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.403, allocations: 0 / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.403, allocations: 8 kB / 1.025 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006075/1.403, allocations: 308.3 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000737/1.404, allocations: 0.6651 MB / 1.026 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/1.404, allocations: 96.92 kB / 1.026 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/1.404, allocations: 11.41 kB / 1.026 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/1.405, allocations: 39.88 kB / 1.026 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/1.405, allocations: 38.94 kB / 1.026 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/1.405, allocations: 11.5 kB / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001241/1.405, allocations: 109.6 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001413/1.407, allocations: 59.92 kB / 1.026 GB, free: 11.37 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: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.fire,wseCon.T1.t_start,wseCon.T1.condition,wseCon.on.newActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.fire,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002534/1.407, allocations: 117.4 kB / 1.027 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007104/1.408, allocations: 247.8 kB / 1.027 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.408, allocations: 0 / 1.027 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/1.408, allocations: 118.5 kB / 1.027 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/1.408, allocations: 26.95 kB / 1.027 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/1.41, allocations: 309.2 kB / 1.027 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000695/1.41, allocations: 0.7915 MB / 1.028 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of SimCode: time 1.552e-06/1.41, allocations: 4 kB / 1.028 GB, free: 9.867 MB / 0.6511 GB