Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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: translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [: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.001942/0.001942, allocations: 178.8 kB / 7.458 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5861/0.5861, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.08/1.08, allocations: 221.3 MB / 395 MB, free: 10.16 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.000839/0.000839, allocations: 93.61 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.889e-06/4.91e-06, allocations: 0 / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 82.31 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3062/0.4107, allocations: 111 MB / 0.7416 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/0.4109, allocations: 74.34 kB / 0.7416 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01206/0.423, allocations: 4.719 MB / 0.7462 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.423, allocations: 0 / 0.7462 GB, free: 10.27 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.0004042/0.4234, allocations: 458.4 kB / 0.7467 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.4235, allocations: 7.688 kB / 0.7467 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.4235, allocations: 16.06 kB / 0.7467 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.4238, allocations: 224.6 kB / 0.7469 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.4238, allocations: 4.609 kB / 0.7469 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.4238, allocations: 7.719 kB / 0.7469 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.678e-05/0.424, allocations: 47.97 kB / 0.747 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.4241, allocations: 100.2 kB / 0.7471 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.4241, allocations: 0 / 0.7471 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4241, allocations: 4.516 kB / 0.7471 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.4241, allocations: 0 / 0.7471 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.4243, allocations: 218.2 kB / 0.7473 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.594e-05/0.4244, allocations: 107.5 kB / 0.7474 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.4245, allocations: 73.78 kB / 0.7475 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.4245, allocations: 0.6562 kB / 0.7475 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.4247, allocations: 127.2 kB / 0.7476 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.4247, allocations: 0 / 0.7476 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.0002959/0.425, allocations: 153.1 kB / 0.7477 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.425, allocations: 112.6 kB / 0.7478 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.17e-05/0.4251, allocations: 126.9 kB / 0.748 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.4251, allocations: 30.42 kB / 0.748 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.4252, allocations: 90.36 kB / 0.7481 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.4252, allocations: 58.16 kB / 0.7481 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.4252, allocations: 0 / 0.7481 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4254, allocations: 335.1 kB / 0.7484 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.814e-05/0.4254, allocations: 42.81 kB / 0.7485 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.4256, allocations: 194.7 kB / 0.7487 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4257, allocations: 69.58 kB / 0.7487 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4257, allocations: 3.938 kB / 0.7487 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002737/0.426, allocations: 194 kB / 0.7489 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.426, allocations: 11.11 kB / 0.7489 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.426, allocations: 9.031 kB / 0.7489 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.426, allocations: 0 / 0.7489 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.4261, allocations: 18.84 kB / 0.749 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.4261, allocations: 3.844 kB / 0.749 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4263, allocations: 46.52 kB / 0.749 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.4263, allocations: 8.734 kB / 0.749 GB, free: 24.27 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 7.417e-05/0.4264, allocations: 122.7 kB / 0.7491 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.4265, allocations: 8.453 kB / 0.7491 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.4265, allocations: 20.3 kB / 0.7492 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4265, allocations: 7.75 kB / 0.7492 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4265, allocations: 0.7031 kB / 0.7492 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4265, allocations: 4.609 kB / 0.7492 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.4266, allocations: 191.8 kB / 0.7494 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4266, allocations: 3.938 kB / 0.7494 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.4267, allocations: 9.172 kB / 0.7494 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4267, allocations: 0 / 0.7494 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4267, allocations: 4.578 kB / 0.7494 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4267, allocations: 0.6562 kB / 0.7494 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4267, allocations: 7.781 kB / 0.7494 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000225/0.4269, allocations: 207.8 kB / 0.7496 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.427, allocations: 89.55 kB / 0.7497 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.427, allocations: 4.578 kB / 0.7497 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.4271, allocations: 5.203 kB / 0.7497 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.4271, allocations: 14.62 kB / 0.7497 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.4271, allocations: 5.062 kB / 0.7497 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.879e-05/0.4272, allocations: 108.1 kB / 0.7498 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002801/0.4275, allocations: 111.9 kB / 0.7499 GB, free: 23.62 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.0002375/0.4277, allocations: 212.3 kB / 0.7501 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.428, allocations: 213.1 kB / 0.7503 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.428, allocations: 0 / 0.7503 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/0.428, allocations: 53.58 kB / 0.7504 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.921e-05/0.4281, allocations: 11.61 kB / 0.7504 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.4284, allocations: 166.5 kB / 0.7505 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.4287, allocations: 0.7264 MB / 0.7512 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.4287, allocations: 0 / 0.7512 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of Templates: time 0.00492/0.4336, allocations: 3.001 MB / 0.7542 GB, free: 22.29 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)