Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7567/0.7567, allocations: 141.8 MB / 149.1 MB, free: 4.461 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 182 kB / 181.9 MB, free: 132 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.3 MB / 436 MB, free: 9.258 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009663/0.0009664, allocations: 98.59 kB / 0.507 GB, free: 24.27 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001775, allocations: 278.2 kB / 0.5884 GB, free: 12.29 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.143e-06/7.253e-06, allocations: 0 / 0.6759 GB, free: 2.645 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.382, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.4981, allocations: 108.2 MB / 0.8624 GB, free: 4.488 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4984, allocations: 88.7 kB / 0.8625 GB, free: 4.406 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.002154/0.5005, allocations: 0.5267 MB / 0.863 GB, free: 3.891 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.5006, allocations: 4 kB / 0.863 GB, free: 3.887 MB / 0.5263 GB 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.0002445/0.5008, allocations: 320.5 kB / 0.8633 GB, free: 3.531 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.5009, allocations: 11.97 kB / 0.8633 GB, free: 3.52 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.5009, allocations: 0.5 kB / 0.8633 GB, free: 3.52 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.163e-05/0.501, allocations: 163 kB / 0.8635 GB, free: 3.32 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.501, allocations: 8.906 kB / 0.8635 GB, free: 3.312 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.501, allocations: 4 kB / 0.8635 GB, free: 3.309 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.607e-05/0.5011, allocations: 8.562 kB / 0.8635 GB, free: 3.301 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.147e-05/0.5012, allocations: 47.25 kB / 0.8636 GB, free: 3.25 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5012, allocations: 4 kB / 0.8636 GB, free: 3.246 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.5012, allocations: 0 / 0.8636 GB, free: 3.246 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5012, allocations: 0 / 0.8636 GB, free: 3.246 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.5015, allocations: 226.4 kB / 0.8638 GB, free: 2.988 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.5016, allocations: 40.17 kB / 0.8638 GB, free: 2.941 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.5016, allocations: 13.52 kB / 0.8638 GB, free: 2.926 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.5017, allocations: 0.9062 kB / 0.8638 GB, free: 2.926 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.5017, allocations: 35.03 kB / 0.8639 GB, free: 2.883 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.5017, allocations: 0 / 0.8639 GB, free: 2.883 MB / 0.5263 GB Notification: Performance of matching and sorting (n=3): time 0.000145/0.5018, allocations: 43.84 kB / 0.8639 GB, free: 2.836 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.5019, allocations: 55.41 kB / 0.864 GB, free: 2.77 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.61e-05/0.5019, allocations: 85 kB / 0.864 GB, free: 2.68 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.5019, allocations: 25.7 kB / 0.8641 GB, free: 2.648 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/0.5019, allocations: 81.05 kB / 0.8641 GB, free: 2.566 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.502, allocations: 22.27 kB / 0.8642 GB, free: 2.547 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.502, allocations: 0.5625 kB / 0.8642 GB, free: 2.547 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.502, allocations: 311.4 kB / 0.8645 GB, free: 2.234 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.502, allocations: 4.812 kB / 0.8645 GB, free: 2.23 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.035e-05/0.5021, allocations: 8 kB / 0.8645 GB, free: 2.223 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.232e-05/0.5021, allocations: 8.578 kB / 0.8645 GB, free: 2.215 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5021, allocations: 0 / 0.8645 GB, free: 2.215 MB / 0.5263 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.868e-05/0.5022, allocations: 46.38 kB / 0.8645 GB, free: 2.164 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.5022, allocations: 8 kB / 0.8645 GB, free: 2.156 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5022, allocations: 0.7188 kB / 0.8645 GB, free: 2.156 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5022, allocations: 3.906 kB / 0.8645 GB, free: 2.152 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.726e-05/0.5022, allocations: 8.594 kB / 0.8645 GB, free: 2.145 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.5023, allocations: 0 / 0.8645 GB, free: 2.145 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.5023, allocations: 1 kB / 0.8646 GB, free: 2.145 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.5023, allocations: 4 kB / 0.8646 GB, free: 2.141 MB / 0.5263 GB 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 5.004e-05/0.5024, allocations: 102.4 kB / 0.8647 GB, free: 2.035 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.5024, allocations: 7.891 kB / 0.8647 GB, free: 2.027 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.5025, allocations: 65.94 kB / 0.8647 GB, free: 1.953 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.5025, allocations: 0.9062 kB / 0.8647 GB, free: 1.953 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5025, allocations: 0 / 0.8647 GB, free: 1.953 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5025, allocations: 8.922 kB / 0.8647 GB, free: 1.945 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.5027, allocations: 134.2 kB / 0.8649 GB, free: 1.777 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5027, allocations: 7.906 kB / 0.8649 GB, free: 1.77 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.5027, allocations: 4.875 kB / 0.8649 GB, free: 1.766 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5027, allocations: 4.188 kB / 0.8649 GB, free: 1.762 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5027, allocations: 0.5938 kB / 0.8649 GB, free: 1.762 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5027, allocations: 0 / 0.8649 GB, free: 1.762 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5028, allocations: 3.062 kB / 0.8649 GB, free: 1.762 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001348/0.5029, allocations: 157.9 kB / 0.865 GB, free: 1.594 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.5029, allocations: 81.22 kB / 0.8651 GB, free: 1.496 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.5029, allocations: 7.984 kB / 0.8651 GB, free: 1.488 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.503, allocations: 0 / 0.8651 GB, free: 1.488 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.503, allocations: 4.625 kB / 0.8651 GB, free: 1.484 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.503, allocations: 0 / 0.8651 GB, free: 1.484 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.485e-05/0.5031, allocations: 75.84 kB / 0.8652 GB, free: 1.41 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0002258/0.5033, allocations: 4.656 kB / 0.8652 GB, free: 1.406 MB / 0.5263 GB 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.0001194/0.5034, allocations: 106.6 kB / 0.8653 GB, free: 1.293 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 8.026e-05/0.5035, allocations: 20.83 kB / 0.8653 GB, free: 1.273 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5035, allocations: 1.281 kB / 0.8653 GB, free: 1.273 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 2.133e-05/0.5035, allocations: 20 kB / 0.8653 GB, free: 1.254 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.5037, allocations: 3.906 kB / 0.8653 GB, free: 1.25 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.5039, allocations: 72.22 kB / 0.8654 GB, free: 1.16 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.5041, allocations: 0.6889 MB / 0.8661 GB, free: 460 kB / 0.5263 GB Notification: Performance of SimCode: time 3.01e-07/0.5041, allocations: 3.938 kB / 0.8661 GB, free: 456 kB / 0.5263 GB Notification: Performance of Templates: time 0.001839/0.5059, allocations: 365.5 kB / 0.8664 GB, free: 132 kB / 0.5263 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)