Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.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: translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [: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.001703/0.001703, allocations: 179.1 kB / 7.463 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5888/0.5888, allocations: 133.5 MB / 141.4 MB, free: 15.74 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.114/1.114, allocations: 221.3 MB / 395 MB, free: 10.3 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.0008409/0.0008409, allocations: 98.59 kB / 477.8 MB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.378e-06/4.398e-06, allocations: 0 / 0.5528 GB, free: 88.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 82.29 MB / 0.6332 GB, free: 14.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3015/0.4031, allocations: 110.9 MB / 0.7415 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001713/0.4033, allocations: 74.44 kB / 0.7416 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.009272/0.4126, allocations: 3.617 MB / 0.7451 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.4126, allocations: 4 kB / 0.7451 GB, free: 10.63 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003624/0.413, allocations: 424 kB / 0.7455 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.413, allocations: 7.625 kB / 0.7455 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.4131, allocations: 19.17 kB / 0.7456 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.4134, allocations: 210.5 kB / 0.7458 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4134, allocations: 7.969 kB / 0.7458 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.4134, allocations: 8.688 kB / 0.7458 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.833e-05/0.4135, allocations: 42.78 kB / 0.7458 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.4136, allocations: 85.88 kB / 0.7459 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.4137, allocations: 3.844 kB / 0.7459 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4137, allocations: 3.984 kB / 0.7459 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.4137, allocations: 0 / 0.7459 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.4139, allocations: 213.7 kB / 0.7461 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.372e-05/0.414, allocations: 85.72 kB / 0.7462 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.4141, allocations: 56.53 kB / 0.7462 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.4141, allocations: 0.75 kB / 0.7462 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.4142, allocations: 110.3 kB / 0.7463 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.4142, allocations: 3.875 kB / 0.7463 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.000263/0.4145, allocations: 133.8 kB / 0.7465 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.4145, allocations: 85.44 kB / 0.7466 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4146, allocations: 131.5 kB / 0.7467 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.4147, allocations: 33.16 kB / 0.7467 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.4147, allocations: 101.6 kB / 0.7468 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.4148, allocations: 33.3 kB / 0.7468 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.4148, allocations: 4 kB / 0.7468 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.4149, allocations: 326.2 kB / 0.7472 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.4149, allocations: 40.8 kB / 0.7472 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.4151, allocations: 212.8 kB / 0.7474 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.4152, allocations: 68.95 kB / 0.7475 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4152, allocations: 0 / 0.7475 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002285/0.4154, allocations: 171.5 kB / 0.7476 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.4154, allocations: 8.578 kB / 0.7476 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.4155, allocations: 8.984 kB / 0.7476 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.4155, allocations: 1.828 kB / 0.7476 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.4155, allocations: 12.09 kB / 0.7477 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.4156, allocations: 1.344 kB / 0.7477 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.4158, allocations: 78.25 kB / 0.7477 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.4158, allocations: 5.375 kB / 0.7477 GB, free: 24.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 7.775e-05/0.4159, allocations: 120.6 kB / 0.7479 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.4159, allocations: 8.422 kB / 0.7479 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.416, allocations: 16.81 kB / 0.7479 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.416, allocations: 3.844 kB / 0.7479 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.416, allocations: 4.469 kB / 0.7479 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.416, allocations: 0.6562 kB / 0.7479 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.4161, allocations: 163.3 kB / 0.748 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4161, allocations: 0 / 0.748 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.4161, allocations: 10.09 kB / 0.7481 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4162, allocations: 0 / 0.7481 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4162, allocations: 8.484 kB / 0.7481 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4162, allocations: 0 / 0.7481 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4162, allocations: 3.938 kB / 0.7481 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000191/0.4164, allocations: 187.2 kB / 0.7482 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.4164, allocations: 89.95 kB / 0.7483 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4164, allocations: 0 / 0.7483 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.454e-05/0.4165, allocations: 5.328 kB / 0.7483 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.4165, allocations: 13.52 kB / 0.7483 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4165, allocations: 8.5 kB / 0.7484 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.485e-05/0.4166, allocations: 109.7 kB / 0.7485 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00025/0.4169, allocations: 76.25 kB / 0.7485 GB, free: 24.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002143/0.4171, allocations: 182.1 kB / 0.7487 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.4173, allocations: 156.8 kB / 0.7489 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4173, allocations: 0 / 0.7489 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.848e-05/0.4173, allocations: 46.84 kB / 0.7489 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.525e-05/0.4174, allocations: 7.656 kB / 0.7489 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.4177, allocations: 156.2 kB / 0.7491 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.4179, allocations: 0.7208 MB / 0.7498 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/0.418, allocations: 0 / 0.7498 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.004341/0.4223, allocations: 2.377 MB / 0.7521 GB, free: 22.93 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)