Running: ./testmodel.py --libraries=/home/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 (/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.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",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.404/2.404, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.001603/0.001603, allocations: 181.2 kB / 315.1 MB, free: 4.285 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.962/1.962, allocations: 205.1 MB / 0.5658 GB, free: 308 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.001284/0.001284, allocations: 94.52 kB / 0.67 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4733/0.4746, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.693, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6381/1.331, allocations: 131.9 MB / 1.012 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/1.332, allocations: 71.89 kB / 1.012 GB, free: 8.32 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.01746/1.349, allocations: 3.941 MB / 1.016 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.315e-05/1.349, allocations: 12 kB / 1.016 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/1.349, allocations: 7.906 kB / 1.016 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/1.35, allocations: 174.5 kB / 1.016 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/1.35, allocations: 8 kB / 1.016 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/1.35, allocations: 7.938 kB / 1.016 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002263/1.35, allocations: 35.86 kB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/1.35, allocations: 80.78 kB / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.35, allocations: 0 / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/1.35, allocations: 3.906 kB / 1.016 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/1.35, allocations: 4 kB / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/1.351, allocations: 303.7 kB / 1.017 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/1.351, allocations: 119 kB / 1.017 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/1.351, allocations: 54.12 kB / 1.017 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/1.351, allocations: 7.984 kB / 1.017 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/1.352, allocations: 84.08 kB / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.435e-06/1.352, allocations: 0 / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003279/1.352, allocations: 111.1 kB / 1.017 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/1.352, allocations: 51.41 kB / 1.017 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/1.352, allocations: 120.5 kB / 1.017 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/1.352, allocations: 25.7 kB / 1.017 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/1.352, allocations: 92.03 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/1.352, allocations: 15.5 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-06/1.352, allocations: 4 kB / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.352, allocations: 318 kB / 1.018 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.656e-05/1.353, allocations: 37.58 kB / 1.018 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/1.353, allocations: 64.16 kB / 1.018 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.884e-05/1.353, allocations: 34.22 kB / 1.018 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.353, allocations: 0 / 1.018 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002871/1.353, allocations: 124.2 kB / 1.018 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.353, allocations: 4 kB / 1.018 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.353, allocations: 0 / 1.018 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.353, allocations: 4 kB / 1.018 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/1.353, allocations: 15.14 kB / 1.018 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.353, allocations: 0 / 1.018 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/1.353, allocations: 4 kB / 1.018 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.354, allocations: 19.97 kB / 1.018 GB, free: 3.152 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.0002094/1.354, allocations: 113.6 kB / 1.018 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/1.354, allocations: 11.89 kB / 1.018 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.521e-05/1.354, allocations: 11.88 kB / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/1.354, allocations: 0 / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.354, allocations: 0 / 1.018 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.354, allocations: 3.906 kB / 1.018 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/1.355, allocations: 377.9 kB / 1.019 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.355, allocations: 0 / 1.019 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/1.355, allocations: 4 kB / 1.019 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/1.355, allocations: 0 / 1.019 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/1.355, allocations: 0 / 1.019 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/1.355, allocations: 3.906 kB / 1.019 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.355, allocations: 4 kB / 1.019 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002902/1.355, allocations: 207.2 kB / 1.019 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004452/1.356, allocations: 0.5799 MB / 1.019 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/1.356, allocations: 81.02 kB / 1.019 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/1.356, allocations: 10.73 kB / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/1.356, allocations: 0 / 1.019 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/1.356, allocations: 7.984 kB / 1.019 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/1.356, allocations: 23.88 kB / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001362/1.356, allocations: 103.5 kB / 1.02 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001144/1.357, allocations: 12 kB / 1.02 GB, free: 1.59 MB / 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.0001897/1.358, allocations: 105.2 kB / 1.02 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002749/1.358, allocations: 84.84 kB / 1.02 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.358, allocations: 0 / 1.02 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/1.358, allocations: 42.42 kB / 1.02 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/1.359, allocations: 67.42 kB / 1.02 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/1.359, allocations: 147.4 kB / 1.02 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004646/1.36, allocations: 0.7124 MB / 1.021 GB, free: 440 kB / 0.6355 GB Notification: Performance of SimCode: time 1.493e-06/1.36, allocations: 0 / 1.021 GB, free: 440 kB / 0.6355 GB