Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [: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.00174/0.00174, allocations: 178.4 kB / 7.457 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5811/0.5811, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.096/1.096, allocations: 221.3 MB / 395 MB, free: 10.23 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.0008439/0.0008439, allocations: 105.1 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.739e-06/4.759e-06, allocations: 0 / 0.5528 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3032/0.4081, allocations: 110.9 MB / 0.7415 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.4083, allocations: 69.14 kB / 0.7416 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01229/0.4206, allocations: 4.721 MB / 0.7462 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4206, allocations: 0 / 0.7462 GB, free: 10.52 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.0004024/0.421, allocations: 449.3 kB / 0.7466 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.4211, allocations: 11.69 kB / 0.7466 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.4211, allocations: 16.72 kB / 0.7466 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.4214, allocations: 221.4 kB / 0.7469 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.4214, allocations: 4.781 kB / 0.7469 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.4214, allocations: 7.812 kB / 0.7469 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.559e-05/0.4215, allocations: 47.06 kB / 0.7469 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.4217, allocations: 97.27 kB / 0.747 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.4217, allocations: 4 kB / 0.747 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.4217, allocations: 0 / 0.747 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4217, allocations: 0 / 0.747 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.4219, allocations: 220.7 kB / 0.7472 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.275e-05/0.422, allocations: 103.7 kB / 0.7473 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.079e-05/0.4221, allocations: 83.41 kB / 0.7474 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.4221, allocations: 1.359 kB / 0.7474 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.4222, allocations: 128 kB / 0.7475 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.4222, allocations: 0 / 0.7475 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.0002869/0.4225, allocations: 160.2 kB / 0.7477 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.4226, allocations: 115.8 kB / 0.7478 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.4226, allocations: 119.8 kB / 0.7479 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.4227, allocations: 37.45 kB / 0.7479 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.4227, allocations: 87.42 kB / 0.748 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.4228, allocations: 52.62 kB / 0.7481 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.4228, allocations: 0 / 0.7481 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.4229, allocations: 330.2 kB / 0.7484 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.638e-05/0.4229, allocations: 57.77 kB / 0.7484 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.4231, allocations: 194.7 kB / 0.7486 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.4232, allocations: 71.73 kB / 0.7487 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4232, allocations: 0 / 0.7487 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000266/0.4235, allocations: 196.9 kB / 0.7489 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.4235, allocations: 6.812 kB / 0.7489 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.4235, allocations: 5.328 kB / 0.7489 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.4235, allocations: 3.969 kB / 0.7489 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.4236, allocations: 20.5 kB / 0.7489 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.4236, allocations: 1.5 kB / 0.7489 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.4238, allocations: 46.7 kB / 0.749 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.4238, allocations: 11.84 kB / 0.749 GB, free: 24.51 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.741e-05/0.4239, allocations: 119.1 kB / 0.7491 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.4239, allocations: 15.33 kB / 0.7491 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.424, allocations: 8.578 kB / 0.7491 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.424, allocations: 7.75 kB / 0.7491 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.424, allocations: 0.7969 kB / 0.7491 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.424, allocations: 4.625 kB / 0.7491 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.4241, allocations: 180.2 kB / 0.7493 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4241, allocations: 4 kB / 0.7493 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/0.4242, allocations: 9.047 kB / 0.7493 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4242, allocations: 7.75 kB / 0.7493 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4242, allocations: 0.6562 kB / 0.7493 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4242, allocations: 4.766 kB / 0.7493 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4242, allocations: 0 / 0.7493 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002355/0.4244, allocations: 215.6 kB / 0.7495 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.4245, allocations: 89.41 kB / 0.7496 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.4245, allocations: 4.188 kB / 0.7496 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.4246, allocations: 5.969 kB / 0.7496 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.4246, allocations: 6.875 kB / 0.7496 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.4246, allocations: 9.125 kB / 0.7496 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.638e-05/0.4247, allocations: 112.1 kB / 0.7497 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002745/0.425, allocations: 107.6 kB / 0.7498 GB, free: 23.88 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.000238/0.4252, allocations: 219.7 kB / 0.7501 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.4255, allocations: 212.4 kB / 0.7503 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4255, allocations: 0 / 0.7503 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.4256, allocations: 53.95 kB / 0.7503 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.781e-05/0.4257, allocations: 15.78 kB / 0.7503 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.4259, allocations: 170.2 kB / 0.7505 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.4262, allocations: 0.7257 MB / 0.7512 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.4262, allocations: 0 / 0.7512 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.004857/0.431, allocations: 2.992 MB / 0.7541 GB, free: 22.54 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)