Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 191.6 kB / 7.808 MB, free: 2.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4715/0.4715, allocations: 90.84 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.4 MB / 342.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 98.98 kB / 415.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1882/0.1893, allocations: 78.43 MB / 493.9 MB, free: 7.934 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.6567, allocations: 72.3 MB / 0.553 GB, free: 73.28 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.7883, allocations: 101.2 MB / 0.6518 GB, free: 8.766 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.7887, allocations: 71.95 kB / 0.6518 GB, free: 8.695 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.01744/0.8062, allocations: 5.178 MB / 0.6569 GB, free: 3.527 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.8063, allocations: 11.09 kB / 0.6569 GB, free: 3.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.8064, allocations: 15.81 kB / 0.6569 GB, free: 3.504 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.8068, allocations: 216.9 kB / 0.6571 GB, free: 3.254 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.8069, allocations: 0 / 0.6571 GB, free: 3.254 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.8069, allocations: 11.98 kB / 0.6571 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001478/0.8071, allocations: 35.98 kB / 0.6572 GB, free: 3.207 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.8072, allocations: 104.2 kB / 0.6573 GB, free: 3.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.8073, allocations: 0 / 0.6573 GB, free: 3.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.8073, allocations: 3.906 kB / 0.6573 GB, free: 3.086 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.8073, allocations: 5.438 kB / 0.6573 GB, free: 3.082 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003367/0.8077, allocations: 219.9 kB / 0.6575 GB, free: 2.824 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.8078, allocations: 115.7 kB / 0.6576 GB, free: 2.684 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.808, allocations: 70.75 kB / 0.6577 GB, free: 2.605 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.808, allocations: 4 kB / 0.6577 GB, free: 2.602 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.8082, allocations: 126.2 kB / 0.6578 GB, free: 2.457 MB / 474.7 MB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.8082, allocations: 0 / 0.6578 GB, free: 2.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005328/0.8088, allocations: 152.5 kB / 0.6579 GB, free: 2.305 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.8089, allocations: 122.8 kB / 0.6581 GB, free: 2.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.809, allocations: 124 kB / 0.6582 GB, free: 2.035 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.8091, allocations: 29.7 kB / 0.6582 GB, free: 2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.8091, allocations: 96.62 kB / 0.6583 GB, free: 1.902 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.8092, allocations: 55.27 kB / 0.6583 GB, free: 1.848 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.8092, allocations: 0 / 0.6583 GB, free: 1.848 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.8094, allocations: 322.8 kB / 0.6587 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.8095, allocations: 56.12 kB / 0.6587 GB, free: 1.465 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.8098, allocations: 195.5 kB / 0.6589 GB, free: 1.223 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.81, allocations: 65.83 kB / 0.659 GB, free: 1.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.81, allocations: 0 / 0.659 GB, free: 1.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003841/0.8104, allocations: 203.2 kB / 0.6591 GB, free: 0.957 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.8104, allocations: 11.94 kB / 0.6592 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/0.8105, allocations: 4 kB / 0.6592 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.8105, allocations: 0 / 0.6592 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.8106, allocations: 23.11 kB / 0.6592 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.8106, allocations: 0 / 0.6592 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.8109, allocations: 51.72 kB / 0.6592 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.8109, allocations: 13.5 kB / 0.6592 GB, free: 0.8594 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001269/0.8111, allocations: 115.5 kB / 0.6594 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.8111, allocations: 11.81 kB / 0.6594 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.8112, allocations: 20.48 kB / 0.6594 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.8112, allocations: 8 kB / 0.6594 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8112, allocations: 0 / 0.6594 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.8112, allocations: 0 / 0.6594 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.8114, allocations: 178 kB / 0.6596 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.8114, allocations: 7.984 kB / 0.6596 GB, free: 496 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.8114, allocations: 8 kB / 0.6596 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.8114, allocations: 144 / 0.6596 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.8115, allocations: 4 kB / 0.6596 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.8115, allocations: 0 / 0.6596 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.8115, allocations: 2.562 kB / 0.6596 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003572/0.8119, allocations: 224.3 kB / 0.6598 GB, free: 224 kB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004834/0.8123, allocations: 0.5812 MB / 0.6604 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.8124, allocations: 85.02 kB / 0.6604 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.8125, allocations: 11.89 kB / 0.6605 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.8125, allocations: 8 kB / 0.6605 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.8126, allocations: 15.92 kB / 0.6605 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.8126, allocations: 4 kB / 0.6605 GB, free: 15.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.406e-05/0.8127, allocations: 103.3 kB / 0.6606 GB, free: 15.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001143/0.8139, allocations: 119.9 kB / 0.6607 GB, free: 15.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005812/0.8144, allocations: 212.3 kB / 0.6609 GB, free: 15.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003701/0.8148, allocations: 205 kB / 0.6611 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8148, allocations: 0 / 0.6611 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.411e-05/0.8149, allocations: 55.92 kB / 0.6612 GB, free: 14.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.8151, allocations: 15.84 kB / 0.6612 GB, free: 14.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.8156, allocations: 175.5 kB / 0.6613 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.816, allocations: 0.7274 MB / 0.662 GB, free: 13.78 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.816, allocations: 0 / 0.662 GB, free: 13.78 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)