Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [: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.2986/0.2986, allocations: 54.4 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.001064/0.001064, allocations: 191.7 kB / 75.38 MB, free: 1.508 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.412/1.412, allocations: 194.2 MB / 283.2 MB, free: 3.551 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: 112 kB / 341.3 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.037e-06, allocations: 4 kB / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 57.64 MB / 462.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/0.528, allocations: 85.1 MB / 0.5349 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.5283, allocations: 82.12 kB / 0.5349 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.001666/0.53, allocations: 382 kB / 0.5353 GB, free: 11.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.53, allocations: 0 / 0.5353 GB, free: 11.61 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002786/0.5303, allocations: 314.5 kB / 0.5356 GB, free: 11.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.5303, allocations: 11.97 kB / 0.5356 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.5304, allocations: 3.906 kB / 0.5356 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.5306, allocations: 178.6 kB / 0.5358 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.5306, allocations: 0 / 0.5358 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.5306, allocations: 0 / 0.5358 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.251e-05/0.5306, allocations: 7.906 kB / 0.5358 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/0.5307, allocations: 32.89 kB / 0.5358 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.5307, allocations: 0.875 kB / 0.5358 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.5307, allocations: 0 / 0.5358 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5308, allocations: 4 kB / 0.5358 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.5311, allocations: 229 kB / 0.536 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/0.5311, allocations: 25.89 kB / 0.5361 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.5312, allocations: 12.92 kB / 0.5361 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.5312, allocations: 0 / 0.5361 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.5312, allocations: 38.25 kB / 0.5361 GB, free: 10.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.5312, allocations: 0 / 0.5361 GB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000138/0.5314, allocations: 33.7 kB / 0.5361 GB, free: 10.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.5314, allocations: 52.34 kB / 0.5362 GB, free: 10.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.512e-05/0.5315, allocations: 97.31 kB / 0.5363 GB, free: 10.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.5315, allocations: 25.7 kB / 0.5363 GB, free: 10.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.5315, allocations: 80.14 kB / 0.5364 GB, free: 10.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.5316, allocations: 3.906 kB / 0.5364 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.5316, allocations: 4.031 kB / 0.5364 GB, free: 10.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5317, allocations: 318 kB / 0.5367 GB, free: 10 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.5317, allocations: 0 / 0.5367 GB, free: 10 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.5317, allocations: 10.02 kB / 0.5367 GB, free: 9.996 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.543e-05/0.5318, allocations: 7.156 kB / 0.5367 GB, free: 9.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.5318, allocations: 3.938 kB / 0.5367 GB, free: 9.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.439e-05/0.5318, allocations: 37.69 kB / 0.5368 GB, free: 9.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.5319, allocations: 6.031 kB / 0.5368 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5319, allocations: 4.094 kB / 0.5368 GB, free: 9.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.5319, allocations: 4 kB / 0.5368 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.532, allocations: 4 kB / 0.5368 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.532, allocations: 0 / 0.5368 GB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.532, allocations: 4 kB / 0.5368 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.532, allocations: 0 / 0.5368 GB, free: 9.926 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 (2): * Single equations (assignments): 2 * 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 6.742e-05/0.5321, allocations: 104.9 kB / 0.5369 GB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.5321, allocations: 0 / 0.5369 GB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.5322, allocations: 13.88 kB / 0.5369 GB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.5322, allocations: 8 kB / 0.5369 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5322, allocations: 0 / 0.5369 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5322, allocations: 0 / 0.5369 GB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.5323, allocations: 137.6 kB / 0.537 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.5323, allocations: 0 / 0.537 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.5324, allocations: 7.875 kB / 0.537 GB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5324, allocations: 4 kB / 0.537 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.5324, allocations: 0 / 0.537 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.5324, allocations: 0 / 0.537 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5324, allocations: 3.984 kB / 0.537 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001295/0.5325, allocations: 138.5 kB / 0.5372 GB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.5326, allocations: 77.11 kB / 0.5373 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.5326, allocations: 0 / 0.5373 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.5326, allocations: 0 / 0.5373 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.5327, allocations: 4 kB / 0.5373 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.5327, allocations: 192 / 0.5373 GB, free: 9.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.902e-05/0.5327, allocations: 90.11 kB / 0.5373 GB, free: 9.285 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002152/0.5329, allocations: 0 / 0.5373 GB, free: 9.285 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 (2): * Single equations (assignments): 2 * 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.0001063/0.5331, allocations: 103.3 kB / 0.5374 GB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.225e-05/0.5331, allocations: 11.92 kB / 0.5375 GB, free: 9.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5331, allocations: 0 / 0.5375 GB, free: 9.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.5332, allocations: 7.312 kB / 0.5375 GB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.5333, allocations: 0 / 0.5375 GB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.5335, allocations: 53.34 kB / 0.5375 GB, free: 9.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.5338, allocations: 0.692 MB / 0.5382 GB, free: 8.371 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5338, allocations: 4 kB / 0.5382 GB, free: 8.367 MB / 378.7 MB Notification: Performance of Templates: time 0.00182/0.5356, allocations: 227.2 kB / 0.5384 GB, free: 8.16 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)