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.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.035/4.035, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5516/4.586, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/4.824, allocations: 98.72 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/5.062, allocations: 124.3 MB / 0.7497 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/5.063, allocations: 79.59 kB / 0.7498 GB, free: 13.2 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.02791/5.091, allocations: 4.93 MB / 0.7546 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/5.091, allocations: 11.98 kB / 0.7546 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002218/5.091, allocations: 35.81 kB / 0.7546 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/5.092, allocations: 338.6 kB / 0.755 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/5.092, allocations: 11.98 kB / 0.755 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/5.093, allocations: 43.98 kB / 0.755 GB, free: 7.723 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004061/5.093, allocations: 103.8 kB / 0.7551 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000798/5.094, allocations: 319.2 kB / 0.7554 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/5.094, allocations: 3.938 kB / 0.7554 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/5.094, allocations: 7.984 kB / 0.7554 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/5.094, allocations: 4 kB / 0.7554 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/5.095, allocations: 453.9 kB / 0.7559 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/5.095, allocations: 277.4 kB / 0.7561 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/5.096, allocations: 153.4 kB / 0.7563 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/5.096, allocations: 4 kB / 0.7563 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009562/5.097, allocations: 316.1 kB / 0.7566 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=36): time 3.477e-06/5.097, allocations: 0 / 0.7566 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36): time 0.001243/5.098, allocations: 361.1 kB / 0.7569 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/5.098, allocations: 200 kB / 0.7571 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/5.099, allocations: 128.2 kB / 0.7572 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/5.099, allocations: 49.69 kB / 0.7573 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/5.099, allocations: 96.8 kB / 0.7574 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/5.099, allocations: 94.8 kB / 0.7575 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/5.099, allocations: 15.94 kB / 0.7575 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001433/5.099, allocations: 334.8 kB / 0.7578 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006857/5.1, allocations: 188.8 kB / 0.758 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/5.101, allocations: 260.3 kB / 0.7582 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009166/5.101, allocations: 198.1 kB / 0.7584 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/5.101, allocations: 0 / 0.7584 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001859/5.103, allocations: 0.5508 MB / 0.759 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/5.103, allocations: 8 kB / 0.759 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/5.103, allocations: 0 / 0.759 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/5.103, allocations: 4 kB / 0.759 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/5.104, allocations: 27.92 kB / 0.759 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/5.104, allocations: 7.906 kB / 0.759 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/5.105, allocations: 119.8 kB / 0.7591 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/5.105, allocations: 27.98 kB / 0.7591 GB, free: 3.215 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.0003726/5.105, allocations: 155.4 kB / 0.7593 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/5.105, allocations: 23.8 kB / 0.7593 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.366e-05/5.106, allocations: 16.5 kB / 0.7593 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/5.106, allocations: 4 kB / 0.7593 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/5.106, allocations: 8 kB / 0.7593 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/5.106, allocations: 3.984 kB / 0.7593 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/5.106, allocations: 277.7 kB / 0.7596 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/5.106, allocations: 4 kB / 0.7596 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/5.106, allocations: 23.92 kB / 0.7596 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/5.106, allocations: 4 kB / 0.7596 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/5.106, allocations: 19.97 kB / 0.7597 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/5.106, allocations: 0 / 0.7597 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/5.106, allocations: 4 kB / 0.7597 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001083/5.107, allocations: 473.1 kB / 0.7601 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001174/5.109, allocations: 0.8306 MB / 0.7609 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.393e-05/5.109, allocations: 92.92 kB / 0.761 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/5.109, allocations: 23.98 kB / 0.761 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/5.109, allocations: 27.97 kB / 0.7611 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/5.11, allocations: 39.8 kB / 0.7611 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/5.11, allocations: 31.95 kB / 0.7611 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001237/5.11, allocations: 103.3 kB / 0.7612 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001642/5.111, allocations: 111.9 kB / 0.7613 GB, free: 0.7695 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.0004327/5.112, allocations: 171.2 kB / 0.7615 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001733/5.114, allocations: 0.614 MB / 0.7621 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/5.114, allocations: 4 kB / 0.7621 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005659/5.114, allocations: 199.8 kB / 0.7623 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/5.115, allocations: 15.83 kB / 0.7623 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/5.116, allocations: 360.5 kB / 0.7627 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/5.116, allocations: 0.7479 MB / 0.7634 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/5.116, allocations: 3.938 kB / 0.7634 GB, free: 14.58 MB / 0.6511 GB