Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [: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.2765/0.2765, allocations: 54.39 MB / 61.67 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.001336/0.001336, allocations: 181.2 kB / 75.37 MB, free: 1.496 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.307/1.307, allocations: 194.2 MB / 283.2 MB, free: 3.492 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.001748/0.001748, allocations: 121.3 kB / 341.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.799e-06/9.829e-06, allocations: 0 / 404.9 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 57.64 MB / 462.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.485, allocations: 87.54 MB / 0.5372 GB, free: 9.562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4853, allocations: 82.05 kB / 0.5373 GB, free: 9.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01983/0.5051, allocations: 7.095 MB / 0.5442 GB, free: 3.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.5052, allocations: 4 kB / 0.5443 GB, free: 3.055 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001007/0.5062, allocations: 0.5199 MB / 0.5448 GB, free: 2.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.5063, allocations: 19.95 kB / 0.5448 GB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.5065, allocations: 27.72 kB / 0.5448 GB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.507, allocations: 278.3 kB / 0.5451 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.507, allocations: 4 kB / 0.5451 GB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.5071, allocations: 12 kB / 0.5451 GB, free: 2.109 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001158/0.5082, allocations: 0.7724 MB / 0.5458 GB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.5087, allocations: 195.1 kB / 0.546 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5087, allocations: 3.984 kB / 0.546 GB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.5087, allocations: 7.984 kB / 0.546 GB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.5087, allocations: 8 kB / 0.546 GB, free: 1.113 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.5099, allocations: 0.5985 MB / 0.5466 GB, free: 484 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.5104, allocations: 297.4 kB / 0.5469 GB, free: 180 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.5106, allocations: 109.4 kB / 0.547 GB, free: 68 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.5107, allocations: 24.25 kB / 0.547 GB, free: 44 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.511, allocations: 179.4 kB / 0.5472 GB, free: 15.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.315e-06/0.511, allocations: 0 / 0.5472 GB, free: 15.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005682/0.5116, allocations: 285 kB / 0.5475 GB, free: 15.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.5117, allocations: 81.11 kB / 0.5476 GB, free: 15.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.512, allocations: 241.9 kB / 0.5478 GB, free: 15.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.512, allocations: 25.7 kB / 0.5478 GB, free: 15.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.5121, allocations: 108.7 kB / 0.5479 GB, free: 15.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.5122, allocations: 114.3 kB / 0.548 GB, free: 14.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.5122, allocations: 0 / 0.548 GB, free: 14.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5124, allocations: 334.8 kB / 0.5483 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.5126, allocations: 87.98 kB / 0.5484 GB, free: 14.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.5127, allocations: 117.7 kB / 0.5485 GB, free: 14.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.513, allocations: 128 kB / 0.5487 GB, free: 14.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.513, allocations: 3.938 kB / 0.5487 GB, free: 14.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005215/0.5135, allocations: 321.1 kB / 0.549 GB, free: 13.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5135, allocations: 4 kB / 0.549 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5135, allocations: 4 kB / 0.549 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5136, allocations: 7.891 kB / 0.549 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.5138, allocations: 63.91 kB / 0.5491 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5138, allocations: 4 kB / 0.5491 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.5139, allocations: 15.78 kB / 0.5491 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.514, allocations: 12 kB / 0.5491 GB, free: 13.87 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 (37): * Single equations (assignments): 36 * 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.0001192/0.5141, allocations: 116.8 kB / 0.5492 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.5142, allocations: 23.72 kB / 0.5492 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000798/0.515, allocations: 412.5 kB / 0.5496 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.515, allocations: 7.984 kB / 0.5496 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.515, allocations: 0 / 0.5496 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.515, allocations: 0 / 0.5496 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.5154, allocations: 305.7 kB / 0.5499 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5154, allocations: 0 / 0.5499 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.5156, allocations: 63.91 kB / 0.55 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.5156, allocations: 4 kB / 0.55 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.5156, allocations: 11.98 kB / 0.55 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5156, allocations: 3.938 kB / 0.55 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.5156, allocations: 0 / 0.55 GB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005456/0.5162, allocations: 334.1 kB / 0.5503 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.5164, allocations: 156.7 kB / 0.5505 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.5165, allocations: 4 kB / 0.5505 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.5166, allocations: 19.98 kB / 0.5505 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.5167, allocations: 23.88 kB / 0.5505 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.5168, allocations: 15.98 kB / 0.5505 GB, free: 12.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001901/0.517, allocations: 200.4 kB / 0.5507 GB, free: 12.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003661/0.5173, allocations: 63.98 kB / 0.5508 GB, free: 12.05 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 (35): * Single equations (assignments): 34 * 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.0007261/0.5181, allocations: 281.5 kB / 0.551 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000456/0.5185, allocations: 265.5 kB / 0.5513 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5185, allocations: 4 kB / 0.5513 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.5188, allocations: 131.8 kB / 0.5514 GB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.519, allocations: 31.88 kB / 0.5515 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/0.5199, allocations: 405.1 kB / 0.5518 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.5205, allocations: 0.8269 MB / 0.5526 GB, free: 10.11 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5205, allocations: 0 / 0.5526 GB, free: 10.11 MB / 394.7 MB Notification: Performance of Templates: time 0.008311/0.5288, allocations: 3.524 MB / 0.5561 GB, free: 6.598 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)