Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.15/2.15, allocations: 284.9 MB / 292.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002122/0.002121, allocations: 181.2 kB / 360.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00163/0.00163, allocations: 97.02 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.606e-06, allocations: 0 / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.54, allocations: 115.2 MB / 0.9628 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.7353, allocations: 136.8 MB / 1.096 GB, free: 3.992 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.7356, allocations: 69.09 kB / 1.096 GB, free: 3.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01517/0.7508, allocations: 3.542 MB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.7509, allocations: 0 / 1.1 GB, free: 444 kB / 0.698 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.0005176/0.7514, allocations: 390.1 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.7515, allocations: 8.078 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.7515, allocations: 7.906 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.7517, allocations: 186.8 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.7518, allocations: 0 / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.7518, allocations: 5.031 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001351/0.752, allocations: 35.98 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.7521, allocations: 77.03 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.7522, allocations: 1.031 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.7522, allocations: 0 / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.7522, allocations: 4 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.7527, allocations: 314.4 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.7529, allocations: 114.7 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.7531, allocations: 60.86 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.7531, allocations: 4 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.7533, allocations: 83.33 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.7533, allocations: 0 / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002739/0.7536, allocations: 106.2 kB / 1.101 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.7536, allocations: 51.41 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.7537, allocations: 117.5 kB / 1.101 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.7538, allocations: 27.11 kB / 1.101 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.7538, allocations: 99.89 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.7539, allocations: 27.88 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.7539, allocations: 0.5 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.754, allocations: 316.6 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.7541, allocations: 33.34 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.7543, allocations: 59.08 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.9e-05/0.7544, allocations: 33.28 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7544, allocations: 0.5938 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003025/0.7547, allocations: 122.2 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.7547, allocations: 5.5 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7547, allocations: 0.7188 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.7548, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.797e-05/0.7549, allocations: 8.641 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.7549, allocations: 2.422 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.755, allocations: 10.06 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.166e-05/0.7551, allocations: 25.38 kB / 1.102 GB, free: 13.96 MB / 0.7136 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 9.262e-05/0.7552, allocations: 107.9 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.7553, allocations: 12.39 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.7553, allocations: 16.94 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7553, allocations: 1.594 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7553, allocations: 0 / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.7554, allocations: 0 / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.7559, allocations: 375.5 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7559, allocations: 1.688 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.756, allocations: 8.625 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.756, allocations: 0.6562 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.756, allocations: 4.031 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.756, allocations: 7.938 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.756, allocations: 3.938 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002586/0.7563, allocations: 207.2 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.7563, allocations: 85.02 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.7564, allocations: 5.156 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.7565, allocations: 0 / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.7566, allocations: 11.98 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.7566, allocations: 27.89 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.062e-05/0.7567, allocations: 96.48 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003107/0.757, allocations: 12 kB / 1.103 GB, free: 12.93 MB / 0.7136 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.0001476/0.7572, allocations: 99.23 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.7574, allocations: 87.91 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7574, allocations: 4.062 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.7576, allocations: 43.92 kB / 1.103 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.7581, allocations: 54.75 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.7586, allocations: 149.2 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.7589, allocations: 0.7114 MB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.7589, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of Templates: time 0.005391/0.7644, allocations: 1.55 MB / 1.106 GB, free: 10.23 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)