Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight") [: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.2763/0.2763, allocations: 54.39 MB / 61.67 MB, free: 11.18 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.001208/0.001208, allocations: 185.9 kB / 75.37 MB, free: 1.434 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.371/1.371, allocations: 194.2 MB / 283.2 MB, free: 3.5 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.001796/0.001796, allocations: 119.6 kB / 341.3 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.228e-06, allocations: 0 / 405 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1412, allocations: 57.64 MB / 462.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.5196, allocations: 86.95 MB / 0.5367 GB, free: 10.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5199, allocations: 83.27 kB / 0.5367 GB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.0189/0.5388, allocations: 6.598 MB / 0.5432 GB, free: 4.211 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.5389, allocations: 4 kB / 0.5432 GB, free: 4.207 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008968/0.5398, allocations: 0.5158 MB / 0.5437 GB, free: 3.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5398, allocations: 11.97 kB / 0.5437 GB, free: 3.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000423/0.5402, allocations: 59.56 kB / 0.5438 GB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.5407, allocations: 250.7 kB / 0.544 GB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.5408, allocations: 11.91 kB / 0.544 GB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.5408, allocations: 8 kB / 0.544 GB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001164/0.542, allocations: 0.7686 MB / 0.5448 GB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.5424, allocations: 187 kB / 0.5449 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5424, allocations: 7.875 kB / 0.545 GB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.5424, allocations: 0 / 0.545 GB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.5424, allocations: 4 kB / 0.545 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009202/0.5434, allocations: 0.5401 MB / 0.5455 GB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.5439, allocations: 300.2 kB / 0.5458 GB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.544, allocations: 109.3 kB / 0.5459 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.5441, allocations: 16.25 kB / 0.5459 GB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.5444, allocations: 177.7 kB / 0.5461 GB, free: 1.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.954e-06/0.5444, allocations: 0 / 0.5461 GB, free: 1.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005489/0.5449, allocations: 285.2 kB / 0.5463 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.545, allocations: 81.11 kB / 0.5464 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.5453, allocations: 239 kB / 0.5466 GB, free: 484 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/0.5453, allocations: 25.7 kB / 0.5467 GB, free: 452 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.5454, allocations: 96.78 kB / 0.5468 GB, free: 352 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.437e-05/0.5455, allocations: 106.3 kB / 0.5469 GB, free: 244 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/0.5455, allocations: 0 / 0.5469 GB, free: 244 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5457, allocations: 342.8 kB / 0.5472 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.5459, allocations: 91.98 kB / 0.5473 GB, free: 15.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.546, allocations: 125.8 kB / 0.5474 GB, free: 15.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.5463, allocations: 119.9 kB / 0.5475 GB, free: 15.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5463, allocations: 0 / 0.5475 GB, free: 15.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005226/0.5468, allocations: 325.6 kB / 0.5478 GB, free: 15.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.5468, allocations: 4 kB / 0.5478 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.5468, allocations: 0 / 0.5478 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.5469, allocations: 11.94 kB / 0.5478 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.5472, allocations: 67.89 kB / 0.5479 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.5472, allocations: 4 kB / 0.5479 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.5473, allocations: 11.84 kB / 0.5479 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.5474, allocations: 19.98 kB / 0.5479 GB, free: 15.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0001019/0.5475, allocations: 108.8 kB / 0.548 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.5475, allocations: 23.72 kB / 0.5481 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000812/0.5483, allocations: 416.6 kB / 0.5485 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.5484, allocations: 4 kB / 0.5485 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5484, allocations: 0 / 0.5485 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5484, allocations: 3.984 kB / 0.5485 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.5487, allocations: 293.8 kB / 0.5487 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5487, allocations: 0 / 0.5487 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.549, allocations: 71.89 kB / 0.5488 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.549, allocations: 7.938 kB / 0.5488 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.549, allocations: 4 kB / 0.5488 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.549, allocations: 4 kB / 0.5488 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.549, allocations: 0 / 0.5488 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005056/0.5495, allocations: 334.3 kB / 0.5491 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.5497, allocations: 152.7 kB / 0.5493 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.5498, allocations: 0 / 0.5493 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.5499, allocations: 15.98 kB / 0.5493 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/0.55, allocations: 23.97 kB / 0.5493 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.55, allocations: 11.98 kB / 0.5493 GB, free: 13.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001955/0.5502, allocations: 201.5 kB / 0.5495 GB, free: 13.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.5506, allocations: 59.92 kB / 0.5496 GB, free: 13.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007078/0.5513, allocations: 269.3 kB / 0.5498 GB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004652/0.5518, allocations: 277.5 kB / 0.5501 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5518, allocations: 0 / 0.5501 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.552, allocations: 135.8 kB / 0.5502 GB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.5523, allocations: 15.86 kB / 0.5503 GB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008844/0.5532, allocations: 403.7 kB / 0.5506 GB, free: 12.26 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006554/0.5538, allocations: 0.8113 MB / 0.5514 GB, free: 11.41 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5538, allocations: 0 / 0.5514 GB, free: 11.41 MB / 394.7 MB Notification: Performance of Templates: time 0.007876/0.5617, allocations: 3.261 MB / 0.5546 GB, free: 8.164 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe 2>&1)