Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.252/2.252, allocations: 248.6 MB / 255.9 MB, free: 356 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001594, allocations: 180.9 kB / 315.1 MB, free: 7.77 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.396/2.396, allocations: 205.1 MB / 0.5658 GB, free: 25.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 98.06 kB / 0.67 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3076/0.3089, allocations: 112.4 MB / 0.7797 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5546/0.8635, allocations: 106.2 MB / 0.8835 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/1.091, allocations: 131.3 MB / 1.012 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/1.091, allocations: 71.95 kB / 1.012 GB, free: 9.719 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.03553/1.127, allocations: 4.954 MB / 1.017 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.662e-05/1.127, allocations: 8 kB / 1.017 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/1.127, allocations: 39.8 kB / 1.017 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/1.13, allocations: 330.6 kB / 1.017 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.462e-05/1.13, allocations: 15.98 kB / 1.017 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000352/1.13, allocations: 43.97 kB / 1.017 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006066/1.131, allocations: 99.95 kB / 1.017 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/1.132, allocations: 314.4 kB / 1.017 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/1.132, allocations: 0 / 1.017 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/1.132, allocations: 11.98 kB / 1.017 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/1.132, allocations: 7.938 kB / 1.017 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/1.134, allocations: 453.9 kB / 1.018 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/1.135, allocations: 276.1 kB / 1.018 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006566/1.136, allocations: 149.4 kB / 1.018 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/1.136, allocations: 4 kB / 1.018 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001231/1.137, allocations: 324 kB / 1.019 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 6.161e-06/1.137, allocations: 3.938 kB / 1.019 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of matching and sorting (n=36): time 0.002009/1.139, allocations: 358.8 kB / 1.019 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002/1.139, allocations: 203.9 kB / 1.019 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/1.14, allocations: 136.8 kB / 1.019 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002663/1.14, allocations: 45.7 kB / 1.019 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/1.14, allocations: 100.8 kB / 1.019 GB, free: 1.547 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/1.14, allocations: 90.81 kB / 1.019 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/1.14, allocations: 8 kB / 1.02 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.141, allocations: 338.9 kB / 1.02 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009826/1.142, allocations: 192.8 kB / 1.02 GB, free: 0.9141 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/1.143, allocations: 252.3 kB / 1.02 GB, free: 0.6484 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/1.144, allocations: 194.8 kB / 1.02 GB, free: 472 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/1.144, allocations: 4 kB / 1.02 GB, free: 468 kB / 0.6667 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.003008/1.147, allocations: 0.5438 MB / 1.021 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.147, allocations: 11.94 kB / 1.021 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.147, allocations: 0 / 1.021 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/1.147, allocations: 4 kB / 1.021 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/1.148, allocations: 27.92 kB / 1.021 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.148, allocations: 0 / 1.021 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.15, allocations: 123.7 kB / 1.021 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/1.15, allocations: 35.97 kB / 1.021 GB, free: 15.71 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.0005137/1.15, allocations: 148.8 kB / 1.021 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/1.151, allocations: 23.8 kB / 1.021 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/1.151, allocations: 28.48 kB / 1.021 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/1.151, allocations: 4 kB / 1.021 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/1.151, allocations: 4 kB / 1.021 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/1.151, allocations: 0 / 1.021 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006554/1.151, allocations: 281.7 kB / 1.022 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.152, allocations: 4 kB / 1.022 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/1.152, allocations: 15.94 kB / 1.022 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.83e-05/1.152, allocations: 4 kB / 1.022 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.152, allocations: 23.95 kB / 1.022 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/1.152, allocations: 0 / 1.022 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/1.152, allocations: 4 kB / 1.022 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001627/1.154, allocations: 474.9 kB / 1.022 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001946/1.156, allocations: 0.8223 MB / 1.023 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/1.156, allocations: 100.8 kB / 1.023 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/1.156, allocations: 23.98 kB / 1.023 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00068/1.157, allocations: 31.97 kB / 1.023 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.157, allocations: 31.86 kB / 1.023 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/1.157, allocations: 31.97 kB / 1.023 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001645/1.157, allocations: 101.1 kB / 1.023 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002724/1.16, allocations: 123.8 kB / 1.023 GB, free: 13.26 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * 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.0006967/1.161, allocations: 175.1 kB / 1.024 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002477/1.163, allocations: 0.6024 MB / 1.024 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.164, allocations: 0 / 1.024 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008852/1.164, allocations: 193.3 kB / 1.024 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/1.165, allocations: 19.97 kB / 1.024 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/1.167, allocations: 365 kB / 1.025 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006135/1.167, allocations: 0.7532 MB / 1.025 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of SimCode: time 1.923e-06/1.167, allocations: 0 / 1.025 GB, free: 11.08 MB / 0.6823 GB