Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_IDEAS_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.00416/0.004159, allocations: 178.9 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7462/0.7462, allocations: 133.5 MB / 141.4 MB, free: 15.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.838/1.838, allocations: 221.3 MB / 395 MB, free: 10.2 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 100.9 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5856/0.587, allocations: 88.42 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.8553, allocations: 82.29 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7541/1.61, allocations: 111 MB / 0.7416 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.61, allocations: 73.89 kB / 0.7417 GB, free: 10.62 MB / 0.4948 GB 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.01646/1.626, allocations: 5.169 MB / 0.7468 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/1.626, allocations: 15.53 kB / 0.7468 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.652e-05/1.627, allocations: 15.62 kB / 0.7468 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/1.627, allocations: 218.3 kB / 0.747 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/1.627, allocations: 0.6562 kB / 0.747 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/1.627, allocations: 7.531 kB / 0.747 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001747/1.627, allocations: 46.89 kB / 0.7471 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/1.628, allocations: 95 kB / 0.7471 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/1.628, allocations: 8.641 kB / 0.7472 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/1.628, allocations: 0 / 0.7472 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.628, allocations: 0 / 0.7472 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/1.628, allocations: 221 kB / 0.7474 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/1.628, allocations: 106 kB / 0.7475 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/1.628, allocations: 74.55 kB / 0.7475 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/1.628, allocations: 3.906 kB / 0.7475 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/1.629, allocations: 124.7 kB / 0.7477 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/1.629, allocations: 0 / 0.7477 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.0005107/1.629, allocations: 154.7 kB / 0.7478 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.629, allocations: 116.1 kB / 0.7479 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/1.629, allocations: 124.2 kB / 0.748 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/1.629, allocations: 33.83 kB / 0.7481 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/1.63, allocations: 93.03 kB / 0.7482 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/1.63, allocations: 54.42 kB / 0.7482 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/1.63, allocations: 0 / 0.7482 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002091/1.63, allocations: 330.2 kB / 0.7485 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/1.63, allocations: 54.09 kB / 0.7486 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/1.63, allocations: 188.9 kB / 0.7488 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/1.63, allocations: 87.42 kB / 0.7488 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.63, allocations: 0 / 0.7488 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003364/1.631, allocations: 191.4 kB / 0.749 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.631, allocations: 7.594 kB / 0.749 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/1.631, allocations: 5.625 kB / 0.749 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.631, allocations: 0 / 0.749 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/1.631, allocations: 21.3 kB / 0.7491 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.631, allocations: 4.859 kB / 0.7491 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/1.631, allocations: 47.66 kB / 0.7491 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/1.631, allocations: 12.39 kB / 0.7491 GB, free: 24.33 MB / 0.5105 GB 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.0001467/1.631, allocations: 123.6 kB / 0.7492 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/1.632, allocations: 8.391 kB / 0.7492 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/1.632, allocations: 13.58 kB / 0.7493 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.632, allocations: 4.703 kB / 0.7493 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.632, allocations: 3.688 kB / 0.7493 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/1.632, allocations: 0.7969 kB / 0.7493 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/1.632, allocations: 180 kB / 0.7494 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/1.632, allocations: 4 kB / 0.7494 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/1.632, allocations: 17.02 kB / 0.7495 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.632, allocations: 0 / 0.7495 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/1.632, allocations: 4.641 kB / 0.7495 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.632, allocations: 4.641 kB / 0.7495 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.632, allocations: 7.922 kB / 0.7495 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003445/1.632, allocations: 214.4 kB / 0.7497 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005102/1.633, allocations: 0.5867 MB / 0.7502 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/1.633, allocations: 94.05 kB / 0.7503 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/1.633, allocations: 0.6094 kB / 0.7503 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/1.633, allocations: 9.109 kB / 0.7503 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/1.633, allocations: 11.8 kB / 0.7504 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/1.633, allocations: 12.47 kB / 0.7504 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.115e-05/1.633, allocations: 101 kB / 0.7505 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001178/1.634, allocations: 111.3 kB / 0.7506 GB, free: 23.19 MB / 0.5105 GB 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.0004315/1.635, allocations: 214.9 kB / 0.7508 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004434/1.635, allocations: 208.8 kB / 0.751 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.635, allocations: 3.5 kB / 0.751 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.297e-05/1.635, allocations: 56.98 kB / 0.751 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/1.636, allocations: 8.484 kB / 0.751 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/1.636, allocations: 177.9 kB / 0.7512 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/1.637, allocations: 0.7306 MB / 0.7519 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.637, allocations: 0 / 0.7519 GB, free: 22.15 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)