Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_SetPoints_Examples_OccupancySchedule",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.277/2.277, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.002952/0.002953, allocations: 187.7 kB / 315.1 MB, free: 4.246 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.999/1.999, allocations: 205.1 MB / 0.5658 GB, free: 352 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.001939/0.001939, allocations: 90.34 kB / 0.67 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4816/0.4836, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.7474, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8334/1.581, allocations: 132.3 MB / 1.013 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.581, allocations: 67.34 kB / 1.013 GB, free: 7.777 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.02609/1.607, allocations: 3.506 MB / 1.016 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/1.608, allocations: 8 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/1.608, allocations: 31.81 kB / 1.016 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/1.609, allocations: 288 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/1.609, allocations: 7.984 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/1.61, allocations: 27.91 kB / 1.017 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004318/1.61, allocations: 86.23 kB / 1.017 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/1.611, allocations: 236.4 kB / 1.017 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/1.611, allocations: 0 / 1.017 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/1.611, allocations: 10.92 kB / 1.017 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/1.611, allocations: 4 kB / 1.017 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/1.612, allocations: 343.7 kB / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/1.613, allocations: 221.3 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/1.613, allocations: 107.1 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/1.613, allocations: 4 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008359/1.614, allocations: 252.2 kB / 1.018 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=24): time 5.28e-06/1.614, allocations: 0 / 1.018 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24): time 0.001268/1.615, allocations: 275.8 kB / 1.018 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.616, allocations: 152.2 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/1.616, allocations: 137.5 kB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/1.616, allocations: 40.95 kB / 1.018 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/1.616, allocations: 92.52 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/1.616, allocations: 64.81 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/1.616, allocations: 4 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.617, allocations: 332.6 kB / 1.019 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/1.617, allocations: 160.6 kB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007185/1.618, allocations: 210.9 kB / 1.019 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008922/1.619, allocations: 147.3 kB / 1.019 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.619, allocations: 0 / 1.019 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002008/1.621, allocations: 429 kB / 1.02 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.621, allocations: 8.062 kB / 1.02 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/1.621, allocations: 3.984 kB / 1.02 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/1.621, allocations: 4 kB / 1.02 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/1.621, allocations: 11.94 kB / 1.02 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/1.621, allocations: 4 kB / 1.02 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/1.622, allocations: 83.61 kB / 1.02 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.623, allocations: 23.11 kB / 1.02 GB, free: 1.246 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0003494/1.623, allocations: 138.7 kB / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/1.623, allocations: 15.81 kB / 1.02 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.883e-05/1.623, allocations: 16.3 kB / 1.02 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.623, allocations: 4 kB / 1.02 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.623, allocations: 4 kB / 1.02 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/1.623, allocations: 0 / 1.02 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/1.624, allocations: 232.8 kB / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/1.624, allocations: 4 kB / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/1.624, allocations: 11.94 kB / 1.02 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.898e-05/1.624, allocations: 7.984 kB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/1.624, allocations: 23.25 kB / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/1.624, allocations: 4 kB / 1.02 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.417e-06/1.624, allocations: 4 kB / 1.02 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001104/1.625, allocations: 348.3 kB / 1.021 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001382/1.627, allocations: 0.7247 MB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/1.627, allocations: 92.91 kB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/1.627, allocations: 14.88 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/1.628, allocations: 19.97 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.628, allocations: 19.59 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.541e-05/1.628, allocations: 23.27 kB / 1.021 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001837/1.628, allocations: 117.6 kB / 1.022 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002429/1.63, allocations: 79.17 kB / 1.022 GB, free: 15.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 14 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,occSchWee.occupied,occSchWee.tOcc,occSchWee.nexStaInd,occSchWee.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0005678/1.631, allocations: 141.8 kB / 1.022 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001648/1.633, allocations: 454.5 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.633, allocations: 0 / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000587/1.633, allocations: 146.5 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/1.634, allocations: 22.11 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/1.635, allocations: 303.1 kB / 1.023 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/1.636, allocations: 0.7393 MB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/1.636, allocations: 0 / 1.023 GB, free: 13.77 MB / 0.6511 GB