Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.238/2.238, allocations: 253.1 MB / 260.4 MB, free: 11.71 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001582/0.001581, allocations: 187.8 kB / 319.6 MB, free: 2.328 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 0.5704 GB, free: 8.258 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001317/0.001316, allocations: 103.8 kB / 0.6746 GB, free: 21.82 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 8.987e-06/9.037e-06, allocations: 0 / 0.7844 GB, free: 5.32 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5814/0.5815, allocations: 106.2 MB / 0.8881 GB, free: 64.59 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2176/0.7991, allocations: 132 MB / 1.017 GB, free: 8.211 MB / 0.6593 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.7995, allocations: 79.94 kB / 1.017 GB, free: 8.125 MB / 0.6593 GB Notification: Performance of FrontEnd: time 0.02173/0.8213, allocations: 4.759 MB / 1.022 GB, free: 3.363 MB / 0.6593 GB Notification: Performance of Transformations before backend: time 3.756e-05/0.8214, allocations: 12 kB / 1.022 GB, free: 3.352 MB / 0.6593 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001899/0.8233, allocations: 0.677 MB / 1.022 GB, free: 2.625 MB / 0.6593 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.8233, allocations: 8.031 kB / 1.022 GB, free: 2.617 MB / 0.6593 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.8235, allocations: 59.33 kB / 1.023 GB, free: 2.559 MB / 0.6593 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/0.8242, allocations: 338.2 kB / 1.023 GB, free: 2.188 MB / 0.6593 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.8243, allocations: 16 kB / 1.023 GB, free: 2.172 MB / 0.6593 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.8244, allocations: 39.98 kB / 1.023 GB, free: 2.133 MB / 0.6593 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009504/0.8254, allocations: 286 kB / 1.023 GB, free: 1.852 MB / 0.6593 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.8264, allocations: 344.5 kB / 1.024 GB, free: 1.512 MB / 0.6593 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.8265, allocations: 0 / 1.024 GB, free: 1.512 MB / 0.6593 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.26e-05/0.8266, allocations: 0 / 1.024 GB, free: 1.512 MB / 0.6593 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.8266, allocations: 16 kB / 1.024 GB, free: 1.496 MB / 0.6593 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.83, allocations: 1.124 MB / 1.025 GB, free: 332 kB / 0.6593 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007191/0.8308, allocations: 275.8 kB / 1.025 GB, free: 48 kB / 0.6593 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004562/0.8312, allocations: 141.6 kB / 1.025 GB, free: 15.9 MB / 0.6749 GB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/0.8313, allocations: 16.31 kB / 1.025 GB, free: 15.89 MB / 0.6749 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006387/0.8319, allocations: 272.5 kB / 1.025 GB, free: 15.6 MB / 0.6749 GB Notification: Performance of pre-optimization done (n=49): time 3.637e-06/0.832, allocations: 0 / 1.025 GB, free: 15.6 MB / 0.6749 GB Notification: Performance of matching and sorting (n=49): time 0.001065/0.833, allocations: 342.9 kB / 1.026 GB, free: 15.26 MB / 0.6749 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.8332, allocations: 178.6 kB / 1.026 GB, free: 15.05 MB / 0.6749 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.8336, allocations: 231.6 kB / 1.026 GB, free: 14.82 MB / 0.6749 GB Notification: Performance of collectPreVariables (initialization): time 9.289e-05/0.8337, allocations: 41.7 kB / 1.026 GB, free: 14.77 MB / 0.6749 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.8339, allocations: 196.9 kB / 1.026 GB, free: 14.57 MB / 0.6749 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.834, allocations: 122.3 kB / 1.026 GB, free: 14.45 MB / 0.6749 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.8341, allocations: 0 / 1.026 GB, free: 14.45 MB / 0.6749 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.8343, allocations: 346.8 kB / 1.027 GB, free: 14.1 MB / 0.6749 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.8347, allocations: 125.3 kB / 1.027 GB, free: 13.98 MB / 0.6749 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.8352, allocations: 248.3 kB / 1.027 GB, free: 13.68 MB / 0.6749 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.8357, allocations: 169.4 kB / 1.027 GB, free: 13.52 MB / 0.6749 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.8357, allocations: 0 / 1.027 GB, free: 13.52 MB / 0.6749 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001287/0.837, allocations: 439.9 kB / 1.028 GB, free: 13.08 MB / 0.6749 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.8371, allocations: 11.94 kB / 1.028 GB, free: 13.07 MB / 0.6749 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.8371, allocations: 3.938 kB / 1.028 GB, free: 13.07 MB / 0.6749 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.624e-05/0.8371, allocations: 8 kB / 1.028 GB, free: 13.06 MB / 0.6749 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008061/0.838, allocations: 100.2 kB / 1.028 GB, free: 12.96 MB / 0.6749 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.838, allocations: 8 kB / 1.028 GB, free: 12.95 MB / 0.6749 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/0.8385, allocations: 59.5 kB / 1.028 GB, free: 12.89 MB / 0.6749 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.8386, allocations: 20 kB / 1.028 GB, free: 12.88 MB / 0.6749 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.firstTrigger,$PRE.modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.firstTrigger,$PRE.mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.firstTrigger,$PRE.mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.firstTrigger,$whenCondition1,mod.firOrdHolOutDam.sampleTrigger,$whenCondition2,mod.firOrdHolRetDam.sampleTrigger,$whenCondition3,modFre.firOrdHolOutDam.sampleTrigger,$whenCondition4,modFre.firOrdHolRetDam.sampleTrigger,$PRE.mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.tSample,$PRE.mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.uSample,$PRE.mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.pre_uSample,$PRE.mod.firOrdHolOutDam.c,mod.firOrdHolOutDam.c,$PRE.mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.tSample,$PRE.mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.uSample,$PRE.mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.pre_uSample,$PRE.mod.firOrdHolRetDam.c,mod.firOrdHolRetDam.c,$PRE.modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.tSample,$PRE.modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.uSample,$PRE.modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.pre_uSample,$PRE.modFre.firOrdHolOutDam.c,modFre.firOrdHolOutDam.c,$PRE.modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.tSample,$PRE.modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.uSample,$PRE.modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.pre_uSample,$PRE.modFre.firOrdHolRetDam.c,modFre.firOrdHolRetDam.c) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002398/0.8389, allocations: 140.9 kB / 1.028 GB, free: 12.73 MB / 0.6749 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/0.839, allocations: 39.52 kB / 1.028 GB, free: 12.69 MB / 0.6749 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.8402, allocations: 403 kB / 1.028 GB, free: 12.29 MB / 0.6749 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.8402, allocations: 4 kB / 1.028 GB, free: 12.29 MB / 0.6749 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.8402, allocations: 3.984 kB / 1.028 GB, free: 12.28 MB / 0.6749 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.8402, allocations: 4 kB / 1.028 GB, free: 12.28 MB / 0.6749 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.8425, allocations: 0.9589 MB / 1.029 GB, free: 11.26 MB / 0.6749 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.8425, allocations: 0 / 1.029 GB, free: 11.26 MB / 0.6749 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.843, allocations: 56.03 kB / 1.029 GB, free: 11.21 MB / 0.6749 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/0.843, allocations: 4 kB / 1.029 GB, free: 11.2 MB / 0.6749 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.8431, allocations: 11.98 kB / 1.029 GB, free: 11.19 MB / 0.6749 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.8431, allocations: 4 kB / 1.029 GB, free: 11.19 MB / 0.6749 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.8431, allocations: 4 kB / 1.029 GB, free: 11.18 MB / 0.6749 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001168/0.8443, allocations: 0.534 MB / 1.03 GB, free: 10.6 MB / 0.6749 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.8445, allocations: 120.5 kB / 1.03 GB, free: 10.46 MB / 0.6749 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.8446, allocations: 12 kB / 1.03 GB, free: 10.45 MB / 0.6749 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005729/0.8452, allocations: 39.95 kB / 1.03 GB, free: 10.41 MB / 0.6749 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.8453, allocations: 36.39 kB / 1.03 GB, free: 10.37 MB / 0.6749 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.8454, allocations: 23.92 kB / 1.03 GB, free: 10.35 MB / 0.6749 GB Notification: Performance of sort global known variables: time 0.0002628/0.8457, allocations: 164.5 kB / 1.03 GB, free: 10.19 MB / 0.6749 GB Notification: Performance of remove unused functions: time 0.0006531/0.8463, allocations: 107.6 kB / 1.03 GB, free: 10.08 MB / 0.6749 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 28 (modFre.firOrdHolRetDam.sampleTrigger,modFre.firOrdHolOutDam.sampleTrigger,mod.firOrdHolRetDam.sampleTrigger,mod.firOrdHolOutDam.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.c,mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.c,modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.c,modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.c) * Number of discrete states: 8 (modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.c,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.c,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.c,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.c) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0002559/0.8466, allocations: 133.7 kB / 1.031 GB, free: 9.945 MB / 0.6749 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.8477, allocations: 367.9 kB / 1.031 GB, free: 9.59 MB / 0.6749 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8477, allocations: 0 / 1.031 GB, free: 9.59 MB / 0.6749 GB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.8482, allocations: 185.6 kB / 1.031 GB, free: 9.41 MB / 0.6749 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000825/0.8491, allocations: 54.09 kB / 1.031 GB, free: 9.359 MB / 0.6749 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.851, allocations: 0.508 MB / 1.032 GB, free: 8.812 MB / 0.6749 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/0.8518, allocations: 0.8595 MB / 1.032 GB, free: 7.93 MB / 0.6749 GB Notification: Performance of SimCode: time 1.242e-06/0.8518, allocations: 4 kB / 1.032 GB, free: 7.926 MB / 0.6749 GB Notification: Performance of Templates: time 0.0157/0.8675, allocations: 4.56 MB / 1.037 GB, free: 3.457 MB / 0.6749 GB