Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Annex60.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2918/0.2918, allocations: 54.4 MB / 61.68 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001325/0.001326, allocations: 177.9 kB / 75.37 MB, free: 1.52 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.746/1.746, allocations: 194.2 MB / 283.2 MB, free: 3.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001908/0.001909, allocations: 113.7 kB / 341.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.156e-06/8.426e-06, allocations: 4 kB / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1567, allocations: 57.65 MB / 462.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4601/0.6169, allocations: 84.98 MB / 0.5347 GB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.6173, allocations: 71.14 kB / 0.5348 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01133/0.6287, allocations: 3.089 MB / 0.5378 GB, free: 9.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.6287, allocations: 4 kB / 0.5378 GB, free: 9.355 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006765/0.6294, allocations: 0.5195 MB / 0.5383 GB, free: 8.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.6295, allocations: 11.97 kB / 0.5383 GB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.6296, allocations: 27.28 kB / 0.5384 GB, free: 8.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/0.6303, allocations: 290.5 kB / 0.5386 GB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.6304, allocations: 4 kB / 0.5386 GB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.6304, allocations: 24 kB / 0.5387 GB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001983/0.6306, allocations: 85.34 kB / 0.5388 GB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.6309, allocations: 176.8 kB / 0.5389 GB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.631, allocations: 0 / 0.5389 GB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.631, allocations: 4 kB / 0.5389 GB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.631, allocations: 4 kB / 0.5389 GB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.6314, allocations: 305.8 kB / 0.5392 GB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.6317, allocations: 224.9 kB / 0.5394 GB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.632, allocations: 177.1 kB / 0.5396 GB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.6321, allocations: 4.625 kB / 0.5396 GB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004079/0.6325, allocations: 313 kB / 0.5399 GB, free: 7.281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.6325, allocations: 4 kB / 0.5399 GB, free: 7.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005776/0.6331, allocations: 281.3 kB / 0.5402 GB, free: 6.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000213/0.6333, allocations: 314.7 kB / 0.5405 GB, free: 6.621 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.6335, allocations: 132.9 kB / 0.5406 GB, free: 6.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.6335, allocations: 41.7 kB / 0.5406 GB, free: 6.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.6336, allocations: 100.6 kB / 0.5407 GB, free: 6.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.6337, allocations: 55.2 kB / 0.5408 GB, free: 6.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.6338, allocations: 16.12 kB / 0.5408 GB, free: 6.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.634, allocations: 334.7 kB / 0.5411 GB, free: 5.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.6343, allocations: 171.9 kB / 0.5413 GB, free: 5.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.6346, allocations: 207.4 kB / 0.5415 GB, free: 5.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003873/0.635, allocations: 153.8 kB / 0.5416 GB, free: 5.398 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.635, allocations: 0 / 0.5416 GB, free: 5.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008792/0.6359, allocations: 463.3 kB / 0.5421 GB, free: 4.941 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.6359, allocations: 4 kB / 0.5421 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.6359, allocations: 0 / 0.5421 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.636, allocations: 4 kB / 0.5421 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.6361, allocations: 11.92 kB / 0.5421 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.6361, allocations: 4 kB / 0.5421 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005362/0.6366, allocations: 111.7 kB / 0.5422 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.6367, allocations: 16 kB / 0.5422 GB, free: 4.793 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.nexStaInd,occSchWee.nexStaInd,$PRE.occSchWee.nexStoInd,occSchWee.nexStoInd,$PRE.occSchWee.iPerSta,occSchWee.iPerSta,$PRE.occSchWee.iPerSto,occSchWee.iPerSto,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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.000251/0.637, allocations: 210.9 kB / 0.5424 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.637, allocations: 31.8 kB / 0.5425 GB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.6371, allocations: 12.5 kB / 0.5425 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6371, allocations: 3.906 kB / 0.5425 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6371, allocations: 0 / 0.5425 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.6371, allocations: 4 kB / 0.5425 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.6374, allocations: 226 kB / 0.5427 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6374, allocations: 0 / 0.5427 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.6374, allocations: 7.984 kB / 0.5427 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.6375, allocations: 4 kB / 0.5427 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.6375, allocations: 8 kB / 0.5427 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.6375, allocations: 8 kB / 0.5427 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.6375, allocations: 3.938 kB / 0.5427 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006101/0.6381, allocations: 400.4 kB / 0.5431 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.6382, allocations: 88.92 kB / 0.5432 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/0.6383, allocations: 19.98 kB / 0.5432 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.6386, allocations: 39.97 kB / 0.5432 GB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.6387, allocations: 15.98 kB / 0.5433 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.6387, allocations: 15.98 kB / 0.5433 GB, free: 3.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.979e-05/0.6388, allocations: 108.1 kB / 0.5434 GB, free: 3.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.6392, allocations: 79.94 kB / 0.5435 GB, free: 3.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition4,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc,$whenCondition1,$whenCondition2,occSchWee.occupied,occSchWee.nexStaInd,occSchWee.nexStoInd,occSchWee.iPerSta,occSchWee.iPerSto,occSchWee.tOcc,occSchWee.tNonOcc) * Number of discrete states: 18 (occSchWee.tNonOcc,occSchWee.iPerSto,occSchWee.nexStoInd,$whenCondition2,occSchWee.tOcc,occSchWee.iPerSta,occSchWee.occupied,occSchWee.nexStaInd,$whenCondition1,occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,$whenCondition4,occSchDay.tOcc,occSchDay.iPerSta,occSchDay.occupied,occSchDay.nexStaInd,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0002966/0.6395, allocations: 143.2 kB / 0.5436 GB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008496/0.6403, allocations: 0.5611 MB / 0.5441 GB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6403, allocations: 0 / 0.5441 GB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.6409, allocations: 499.4 kB / 0.5446 GB, free: 2.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.6411, allocations: 16.47 kB / 0.5446 GB, free: 2.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007323/0.6418, allocations: 315 kB / 0.5449 GB, free: 1.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005213/0.6424, allocations: 0.7354 MB / 0.5456 GB, free: 1.039 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6424, allocations: 0 / 0.5456 GB, free: 1.039 MB / 378.7 MB Notification: Performance of Templates: time 0.0092/0.6516, allocations: 3.532 MB / 0.5491 GB, free: 13.54 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.makefile (rm -f Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1)