Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.396/1.396, allocations: 289.8 MB / 297.1 MB, free: 6.629 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001096, allocations: 187.8 kB / 366.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.091/1.091, allocations: 205.1 MB / 0.6256 GB, free: 5.848 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007894/0.0007894, allocations: 79.23 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.256e-06/8.286e-06, allocations: 8 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4362, allocations: 116.3 MB / 0.9726 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.5725, allocations: 137.9 MB / 1.107 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.5727, allocations: 67.91 kB / 1.107 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008616/0.5813, allocations: 3.538 MB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.5814, allocations: 0 / 1.111 GB, free: 6.949 MB / 0.7136 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.0003524/0.5817, allocations: 392.5 kB / 1.111 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.5818, allocations: 8.031 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.5818, allocations: 8.531 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.582, allocations: 188.2 kB / 1.111 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.582, allocations: 4 kB / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.582, allocations: 0 / 1.111 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.644e-05/0.5821, allocations: 39.98 kB / 1.111 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.5822, allocations: 75.42 kB / 1.111 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5822, allocations: 0.5938 kB / 1.111 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.5822, allocations: 4 kB / 1.111 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.5823, allocations: 0 / 1.111 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.5826, allocations: 313.2 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.5828, allocations: 110.5 kB / 1.112 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.5829, allocations: 65.62 kB / 1.112 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.5829, allocations: 3.984 kB / 1.112 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.583, allocations: 87.33 kB / 1.112 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.583, allocations: 0 / 1.112 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001874/0.5832, allocations: 103 kB / 1.112 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.5832, allocations: 55.41 kB / 1.112 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.918e-05/0.5833, allocations: 124 kB / 1.112 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.5833, allocations: 33.7 kB / 1.112 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.5834, allocations: 84.23 kB / 1.112 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.5834, allocations: 23.66 kB / 1.112 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.5834, allocations: 0 / 1.112 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.5835, allocations: 318.8 kB / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.5836, allocations: 31.98 kB / 1.113 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.5836, allocations: 59.86 kB / 1.113 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/0.5837, allocations: 35.98 kB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5837, allocations: 0 / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001571/0.5839, allocations: 123.4 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.5839, allocations: 4 kB / 1.113 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5839, allocations: 4 kB / 1.113 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.577e-06/0.5839, allocations: 0 / 1.113 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.816e-05/0.584, allocations: 11.92 kB / 1.113 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.584, allocations: 8.031 kB / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.584, allocations: 0 / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.5841, allocations: 23.88 kB / 1.113 GB, free: 4.449 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 6.054e-05/0.5842, allocations: 105 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.5842, allocations: 11.91 kB / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.5842, allocations: 8.359 kB / 1.113 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.5842, allocations: 0.5625 kB / 1.113 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.5842, allocations: 8 kB / 1.113 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.5843, allocations: 0 / 1.113 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.5846, allocations: 379.6 kB / 1.114 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5846, allocations: 0 / 1.114 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.5846, allocations: 3.938 kB / 1.114 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5846, allocations: 0 / 1.114 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.5846, allocations: 4.656 kB / 1.114 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5846, allocations: 3.938 kB / 1.114 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5846, allocations: 0 / 1.114 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001645/0.5848, allocations: 212.1 kB / 1.114 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.5849, allocations: 85.02 kB / 1.114 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.5849, allocations: 3.906 kB / 1.114 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.585, allocations: 4 kB / 1.114 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.585, allocations: 9.109 kB / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.585, allocations: 19.97 kB / 1.114 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.19e-05/0.5851, allocations: 99.27 kB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002137/0.5853, allocations: 12 kB / 1.114 GB, free: 3.414 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.0001092/0.5854, allocations: 106 kB / 1.114 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001359/0.5856, allocations: 83.91 kB / 1.114 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.5856, allocations: 0 / 1.114 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.046e-05/0.5856, allocations: 47.92 kB / 1.114 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.586, allocations: 67.12 kB / 1.114 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.5863, allocations: 143.5 kB / 1.114 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.5865, allocations: 0.7114 MB / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.5865, allocations: 0 / 1.115 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of Templates: time 0.003203/0.5897, allocations: 1.557 MB / 1.117 GB, free: 0.6992 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)