Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6488/0.6488, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 193.2 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 399.1 MB, free: 6.105 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 91.25 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.295e-06, allocations: 4 kB / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1823, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4672/0.6496, allocations: 102.2 MB / 0.7207 GB, free: 10.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.6499, allocations: 79.94 kB / 0.7208 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.001764/0.6517, allocations: 413.6 kB / 0.7212 GB, free: 9.777 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.6517, allocations: 0 / 0.7212 GB, free: 9.777 MB / 490.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.0002587/0.652, allocations: 322.4 kB / 0.7215 GB, free: 9.418 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.652, allocations: 8.031 kB / 0.7215 GB, free: 9.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.6521, allocations: 0 / 0.7215 GB, free: 9.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.6522, allocations: 170.9 kB / 0.7216 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.6522, allocations: 3.938 kB / 0.7216 GB, free: 9.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.6523, allocations: 0 / 0.7216 GB, free: 9.199 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.325e-05/0.6523, allocations: 8 kB / 0.7217 GB, free: 9.191 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.238e-05/0.6524, allocations: 41.67 kB / 0.7217 GB, free: 9.145 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.6524, allocations: 0 / 0.7217 GB, free: 9.145 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.6524, allocations: 0 / 0.7217 GB, free: 9.145 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6524, allocations: 0 / 0.7217 GB, free: 9.145 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.6527, allocations: 221.4 kB / 0.7219 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.799e-05/0.6528, allocations: 22.58 kB / 0.7219 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.6528, allocations: 12.92 kB / 0.7219 GB, free: 8.844 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.6528, allocations: 4.031 kB / 0.7219 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.6529, allocations: 34.56 kB / 0.722 GB, free: 8.797 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.994e-06/0.6529, allocations: 0 / 0.722 GB, free: 8.797 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001343/0.653, allocations: 34.36 kB / 0.722 GB, free: 8.758 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.6531, allocations: 55.31 kB / 0.7221 GB, free: 8.691 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.6532, allocations: 97.03 kB / 0.7221 GB, free: 8.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.6532, allocations: 25.7 kB / 0.7222 GB, free: 8.559 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.6532, allocations: 88.08 kB / 0.7223 GB, free: 8.469 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.6532, allocations: 7.891 kB / 0.7223 GB, free: 8.461 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.6533, allocations: 2.188 kB / 0.7223 GB, free: 8.461 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6534, allocations: 310.8 kB / 0.7226 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.6534, allocations: 4 kB / 0.7226 GB, free: 8.145 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.6534, allocations: 0 / 0.7226 GB, free: 8.145 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.708e-05/0.6534, allocations: 12.06 kB / 0.7226 GB, free: 8.133 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.6534, allocations: 0 / 0.7226 GB, free: 8.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.265e-05/0.6535, allocations: 33.7 kB / 0.7226 GB, free: 8.094 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6535, allocations: 4 kB / 0.7226 GB, free: 8.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6535, allocations: 0 / 0.7226 GB, free: 8.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.6535, allocations: 3.984 kB / 0.7226 GB, free: 8.086 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.505e-05/0.6536, allocations: 4 kB / 0.7226 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6536, allocations: 3.906 kB / 0.7226 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.6536, allocations: 0 / 0.7226 GB, free: 8.078 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.6537, allocations: 0 / 0.7226 GB, free: 8.078 MB / 490.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 7.046e-05/0.6537, allocations: 109 kB / 0.7227 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.6538, allocations: 0 / 0.7227 GB, free: 7.965 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.6538, allocations: 11.25 kB / 0.7227 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.6538, allocations: 3.906 kB / 0.7227 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6538, allocations: 0 / 0.7227 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6538, allocations: 0 / 0.7227 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.654, allocations: 134.2 kB / 0.7229 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.654, allocations: 0 / 0.7229 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.654, allocations: 4 kB / 0.7229 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.654, allocations: 4.812 kB / 0.7229 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.654, allocations: 4 kB / 0.7229 GB, free: 7.773 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.654, allocations: 0 / 0.7229 GB, free: 7.773 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.654, allocations: 3.984 kB / 0.7229 GB, free: 7.77 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.94e-05/0.6541, allocations: 135.5 kB / 0.723 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.6542, allocations: 77.11 kB / 0.7231 GB, free: 7.527 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.6542, allocations: 7.344 kB / 0.7231 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.376e-05/0.6543, allocations: 0 / 0.7231 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.6543, allocations: 8.016 kB / 0.7231 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.6543, allocations: 4 kB / 0.7231 GB, free: 7.512 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.266e-05/0.6543, allocations: 79.28 kB / 0.7232 GB, free: 7.434 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000232/0.6546, allocations: 4 kB / 0.7232 GB, free: 7.43 MB / 490.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.0001249/0.6547, allocations: 99.52 kB / 0.7233 GB, free: 7.324 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.254e-05/0.6548, allocations: 8 kB / 0.7233 GB, free: 7.316 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6548, allocations: 0 / 0.7233 GB, free: 7.316 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.719e-06/0.6548, allocations: 8 kB / 0.7233 GB, free: 7.309 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.6549, allocations: 5.75 kB / 0.7233 GB, free: 7.305 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.6551, allocations: 51.92 kB / 0.7234 GB, free: 7.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.6554, allocations: 0.688 MB / 0.724 GB, free: 6.516 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6554, allocations: 0 / 0.724 GB, free: 6.516 MB / 490.7 MB Notification: Performance of Templates: time 0.001857/0.6573, allocations: 229.7 kB / 0.7242 GB, free: 6.316 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)