Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [: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.2732/0.2732, allocations: 54.39 MB / 61.68 MB, free: 11.14 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.00143/0.00143, allocations: 184.3 kB / 75.37 MB, free: 1.547 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.596/1.596, allocations: 194.2 MB / 283.2 MB, free: 3.477 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.001822/0.001822, allocations: 101.8 kB / 341.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.338e-06/9.358e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1341, allocations: 57.65 MB / 462.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3892/0.5234, allocations: 85.2 MB / 0.535 GB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5237, allocations: 78.17 kB / 0.535 GB, free: 11.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.002179/0.5259, allocations: 481.2 kB / 0.5355 GB, free: 11.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.5259, allocations: 0 / 0.5355 GB, free: 11.37 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003114/0.5263, allocations: 321.2 kB / 0.5358 GB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.5263, allocations: 11.97 kB / 0.5358 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.5264, allocations: 7.906 kB / 0.5358 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.5265, allocations: 167 kB / 0.536 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.5265, allocations: 0 / 0.536 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.5265, allocations: 0 / 0.536 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.202e-05/0.5266, allocations: 19.17 kB / 0.536 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.302e-05/0.5267, allocations: 37.19 kB / 0.536 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.5267, allocations: 3.984 kB / 0.536 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.5267, allocations: 3.906 kB / 0.536 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5267, allocations: 0 / 0.536 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003294/0.5271, allocations: 218.7 kB / 0.5363 GB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.5272, allocations: 49.75 kB / 0.5363 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.5273, allocations: 8.922 kB / 0.5363 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.5273, allocations: 0 / 0.5363 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.5273, allocations: 41.72 kB / 0.5363 GB, free: 10.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.5273, allocations: 0 / 0.5363 GB, free: 10.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001661/0.5275, allocations: 41.34 kB / 0.5364 GB, free: 10.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.5276, allocations: 51.41 kB / 0.5364 GB, free: 10.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.037e-05/0.5276, allocations: 89 kB / 0.5365 GB, free: 10.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.5276, allocations: 25.7 kB / 0.5365 GB, free: 10.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.5277, allocations: 82.11 kB / 0.5366 GB, free: 10.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.5277, allocations: 7.906 kB / 0.5366 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.5277, allocations: 0 / 0.5366 GB, free: 10.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5279, allocations: 326.1 kB / 0.5369 GB, free: 9.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.5279, allocations: 4 kB / 0.5369 GB, free: 9.727 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.5279, allocations: 3.688 kB / 0.5369 GB, free: 9.727 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.105e-05/0.528, allocations: 4 kB / 0.537 GB, free: 9.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.528, allocations: 4 kB / 0.537 GB, free: 9.719 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.437e-05/0.528, allocations: 49.25 kB / 0.537 GB, free: 9.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5281, allocations: 7.984 kB / 0.537 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.5281, allocations: 0 / 0.537 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5281, allocations: 0 / 0.537 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-05/0.5282, allocations: 8 kB / 0.537 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.5282, allocations: 3.984 kB / 0.537 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.5282, allocations: 0 / 0.537 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.5282, allocations: 0 / 0.537 GB, free: 9.648 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 9.889e-05/0.5283, allocations: 108.8 kB / 0.5371 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.5284, allocations: 8 kB / 0.5371 GB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.5285, allocations: 70.39 kB / 0.5372 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5285, allocations: 0 / 0.5372 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5285, allocations: 0 / 0.5372 GB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5286, allocations: 4 kB / 0.5372 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.5287, allocations: 137.3 kB / 0.5373 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5287, allocations: 0 / 0.5373 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.316e-05/0.5288, allocations: 15.92 kB / 0.5374 GB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.5288, allocations: 0 / 0.5374 GB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.5288, allocations: 7.938 kB / 0.5374 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5288, allocations: 0 / 0.5374 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5288, allocations: 4 kB / 0.5374 GB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001344/0.529, allocations: 155.1 kB / 0.5375 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.529, allocations: 81.11 kB / 0.5376 GB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.529, allocations: 3.906 kB / 0.5376 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/0.5291, allocations: 0 / 0.5376 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.5291, allocations: 7.984 kB / 0.5376 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.5291, allocations: 4.125 kB / 0.5376 GB, free: 8.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.048e-05/0.5292, allocations: 75.28 kB / 0.5377 GB, free: 8.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.5294, allocations: 4 kB / 0.5377 GB, free: 8.918 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001313/0.5295, allocations: 95.44 kB / 0.5378 GB, free: 8.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.391e-05/0.5296, allocations: 21.94 kB / 0.5378 GB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5296, allocations: 0 / 0.5378 GB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.5297, allocations: 22.92 kB / 0.5378 GB, free: 8.781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.5298, allocations: 4 kB / 0.5378 GB, free: 8.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.5301, allocations: 65.61 kB / 0.5379 GB, free: 8.695 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.5304, allocations: 0.694 MB / 0.5386 GB, free: 7.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5304, allocations: 0 / 0.5386 GB, free: 7.98 MB / 378.7 MB Notification: Performance of Templates: time 0.002038/0.5324, allocations: 370.8 kB / 0.5389 GB, free: 7.633 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)