Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.109/4.109, allocations: 433 MB / 440.3 MB, free: 10.79 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.256/4.365, allocations: 104.4 MB / 0.5319 GB, free: 2.344 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5222/4.888, allocations: 98.69 MB / 0.6283 GB, free: 108 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2334/5.121, allocations: 124.4 MB / 0.7498 GB, free: 3.547 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/5.122, allocations: 67.97 kB / 0.7498 GB, free: 3.48 MB / 0.6199 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.02719/5.149, allocations: 4.939 MB / 0.7546 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/5.149, allocations: 12 kB / 0.7547 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/5.149, allocations: 39.8 kB / 0.7547 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/5.15, allocations: 334.6 kB / 0.755 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/5.15, allocations: 11.98 kB / 0.755 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/5.151, allocations: 39.98 kB / 0.7551 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000398/5.151, allocations: 107.8 kB / 0.7552 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007836/5.152, allocations: 308.8 kB / 0.7555 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/5.152, allocations: 7.875 kB / 0.7555 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.277e-05/5.152, allocations: 11.98 kB / 0.7555 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/5.152, allocations: 4 kB / 0.7555 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/5.153, allocations: 457.9 kB / 0.7559 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/5.154, allocations: 276.2 kB / 0.7562 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/5.154, allocations: 141.3 kB / 0.7563 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/5.154, allocations: 4 kB / 0.7563 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007272/5.155, allocations: 320 kB / 0.7566 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=36): time 6.282e-06/5.155, allocations: 4 kB / 0.7566 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36): time 0.0012/5.156, allocations: 361.1 kB / 0.757 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/5.156, allocations: 203.9 kB / 0.7572 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/5.156, allocations: 129.8 kB / 0.7573 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/5.156, allocations: 49.7 kB / 0.7573 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/5.157, allocations: 96.78 kB / 0.7574 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/5.157, allocations: 86.88 kB / 0.7575 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/5.157, allocations: 20.03 kB / 0.7575 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001446/5.157, allocations: 330.8 kB / 0.7579 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006195/5.158, allocations: 200.7 kB / 0.758 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/5.158, allocations: 248.4 kB / 0.7583 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/5.159, allocations: 196.5 kB / 0.7585 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/5.159, allocations: 0 / 0.7585 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001906/5.161, allocations: 0.554 MB / 0.759 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/5.161, allocations: 4 kB / 0.759 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/5.161, allocations: 0 / 0.759 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.591e-05/5.161, allocations: 4 kB / 0.759 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/5.161, allocations: 23.92 kB / 0.759 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/5.161, allocations: 7.906 kB / 0.759 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/5.162, allocations: 119.8 kB / 0.7592 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/5.163, allocations: 31.98 kB / 0.7592 GB, free: 9.488 MB / 0.6355 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.0002972/5.163, allocations: 148.8 kB / 0.7593 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/5.163, allocations: 27.81 kB / 0.7594 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.903e-05/5.163, allocations: 20.48 kB / 0.7594 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/5.163, allocations: 4 kB / 0.7594 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/5.163, allocations: 0 / 0.7594 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/5.163, allocations: 7.938 kB / 0.7594 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/5.164, allocations: 289.6 kB / 0.7597 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/5.164, allocations: 0 / 0.7597 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/5.164, allocations: 19.94 kB / 0.7597 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.475e-06/5.164, allocations: 0 / 0.7597 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.74e-05/5.164, allocations: 23.95 kB / 0.7597 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/5.164, allocations: 12 kB / 0.7597 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/5.164, allocations: 0 / 0.7597 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001067/5.165, allocations: 469.2 kB / 0.7602 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001147/5.166, allocations: 0.8265 MB / 0.761 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/5.166, allocations: 92.91 kB / 0.7611 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/5.166, allocations: 27.92 kB / 0.7611 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/5.167, allocations: 31.97 kB / 0.7611 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/5.167, allocations: 35.8 kB / 0.7612 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-05/5.167, allocations: 27.97 kB / 0.7612 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000107/5.167, allocations: 105.8 kB / 0.7613 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001571/5.169, allocations: 115.9 kB / 0.7614 GB, free: 7.035 MB / 0.6355 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.0003872/5.169, allocations: 179.1 kB / 0.7616 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001588/5.171, allocations: 0.6101 MB / 0.7622 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/5.171, allocations: 0 / 0.7622 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005347/5.171, allocations: 195.8 kB / 0.7623 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/5.172, allocations: 15.89 kB / 0.7624 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/5.173, allocations: 360.5 kB / 0.7627 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004209/5.173, allocations: 0.7518 MB / 0.7634 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of SimCode: time 2.996e-06/5.173, allocations: 0 / 0.7634 GB, free: 4.852 MB / 0.6355 GB