Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") [: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.284/2.284, allocations: 253.1 MB / 260.4 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001725/0.001726, allocations: 185.2 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 0.5704 GB, free: 15.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 88.25 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.138e-05/1.167e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2465, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6911/0.9376, allocations: 131.8 MB / 1.017 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.938, allocations: 66.64 kB / 1.017 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0172/0.9552, allocations: 3.56 MB / 1.02 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.9552, allocations: 4 kB / 1.02 GB, free: 3.617 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008219/0.9561, allocations: 386.6 kB / 1.021 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.128e-05/0.9562, allocations: 16.02 kB / 1.021 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.9563, allocations: 3.906 kB / 1.021 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.9566, allocations: 186.2 kB / 1.021 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.9567, allocations: 4 kB / 1.021 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.9568, allocations: 8 kB / 1.021 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002144/0.957, allocations: 36.92 kB / 1.021 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.9573, allocations: 79.53 kB / 1.021 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.9573, allocations: 0 / 1.021 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.9574, allocations: 3.906 kB / 1.021 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.9574, allocations: 0 / 1.021 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.9584, allocations: 312.3 kB / 1.021 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.9589, allocations: 109.4 kB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.9592, allocations: 57.62 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.9592, allocations: 0 / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.9595, allocations: 91.69 kB / 1.022 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.397e-06/0.9595, allocations: 0 / 1.022 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004878/0.96, allocations: 109.1 kB / 1.022 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.9601, allocations: 51.41 kB / 1.022 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.9603, allocations: 119.5 kB / 1.022 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.9603, allocations: 26.55 kB / 1.022 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.9604, allocations: 87.86 kB / 1.022 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.9605, allocations: 23.95 kB / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.9605, allocations: 4 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.9608, allocations: 318.3 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.9609, allocations: 31.53 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.9612, allocations: 57.5 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.9614, allocations: 39.16 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.9614, allocations: 0 / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005367/0.962, allocations: 119.4 kB / 1.023 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.962, allocations: 11.94 kB / 1.023 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.9621, allocations: 0 / 1.023 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.9621, allocations: 0 / 1.023 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.9623, allocations: 19.27 kB / 1.023 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.9623, allocations: 0 / 1.023 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.9625, allocations: 0 / 1.023 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.9627, allocations: 23.91 kB / 1.023 GB, free: 1.277 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001818/0.9629, allocations: 117 kB / 1.023 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.963, allocations: 7.906 kB / 1.023 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.067e-05/0.9631, allocations: 14.86 kB / 1.023 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.9631, allocations: 4 kB / 1.023 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.9631, allocations: 0 / 1.023 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.9631, allocations: 3.906 kB / 1.023 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007567/0.9639, allocations: 366.7 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.9639, allocations: 8 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.964, allocations: 7.984 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.964, allocations: 0 / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.964, allocations: 0 / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.964, allocations: 3.906 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.9641, allocations: 0 / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004549/0.9645, allocations: 211.3 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.9646, allocations: 81.02 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.9647, allocations: 8 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.965, allocations: 0 / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/0.9651, allocations: 11.11 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.9652, allocations: 27.84 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001212/0.9654, allocations: 95.7 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006883/0.9661, allocations: 12 kB / 1.024 GB, free: 300 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002728/0.9664, allocations: 107.1 kB / 1.024 GB, free: 188 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.9668, allocations: 91.83 kB / 1.024 GB, free: 112 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.9668, allocations: 0 / 1.024 GB, free: 112 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.967, allocations: 45.61 kB / 1.024 GB, free: 76 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009879/0.968, allocations: 57.84 kB / 1.024 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.9687, allocations: 149.3 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/0.9693, allocations: 0.7154 MB / 1.025 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of SimCode: time 1.442e-06/0.9693, allocations: 0 / 1.025 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of Templates: time 0.008896/0.9782, allocations: 1.555 MB / 1.026 GB, free: 13.6 MB / 0.6511 GB