Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [: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/Buildings 1.6.0+build.1/package.mo): time 0.4944/0.4944, allocations: 94.74 MB / 102 MB, free: 10.35 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001133/0.001133, allocations: 179.5 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.294/1.294, allocations: 170.5 MB / 319 MB, free: 9.34 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001924/0.001924, allocations: 110.6 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.567e-06, allocations: 224 / 448.6 MB, free: 2.098 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.149, allocations: 61.51 MB / 0.4981 GB, free: 4.488 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4034/0.5524, allocations: 93.38 MB / 0.5893 GB, free: 8.953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.5527, allocations: 82.25 kB / 0.5894 GB, free: 8.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.002251/0.5551, allocations: 434 kB / 0.5898 GB, free: 8.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.5551, allocations: 4 kB / 0.5898 GB, free: 8.461 MB / 410.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.0003109/0.5554, allocations: 313.9 kB / 0.5901 GB, free: 8.113 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5555, allocations: 9.156 kB / 0.5901 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.5555, allocations: 0 / 0.5901 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.5556, allocations: 163.1 kB / 0.5903 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.5556, allocations: 4.906 kB / 0.5903 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.5557, allocations: 4 kB / 0.5903 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.59e-05/0.5558, allocations: 0 / 0.5903 GB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.49e-05/0.5558, allocations: 33.64 kB / 0.5903 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.5558, allocations: 1.031 kB / 0.5903 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.5559, allocations: 8.797 kB / 0.5903 GB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5559, allocations: 4 kB / 0.5903 GB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.5562, allocations: 220.4 kB / 0.5905 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.823e-05/0.5563, allocations: 26.41 kB / 0.5906 GB, free: 7.574 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.491e-05/0.5563, allocations: 8.922 kB / 0.5906 GB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.5563, allocations: 0 / 0.5906 GB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.5564, allocations: 31.5 kB / 0.5906 GB, free: 7.523 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5564, allocations: 7.938 kB / 0.5906 GB, free: 7.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001583/0.5565, allocations: 39.23 kB / 0.5907 GB, free: 7.473 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.5566, allocations: 51.41 kB / 0.5907 GB, free: 7.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.318e-05/0.5566, allocations: 86.12 kB / 0.5908 GB, free: 7.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.5567, allocations: 26.67 kB / 0.5908 GB, free: 7.289 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.5567, allocations: 80.14 kB / 0.5909 GB, free: 7.207 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.5567, allocations: 8.75 kB / 0.5909 GB, free: 7.199 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.5567, allocations: 0 / 0.5909 GB, free: 7.199 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5569, allocations: 316.9 kB / 0.5912 GB, free: 6.883 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-06/0.5569, allocations: 0 / 0.5912 GB, free: 6.883 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.5569, allocations: 4 kB / 0.5912 GB, free: 6.879 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.97e-05/0.5569, allocations: 7.641 kB / 0.5912 GB, free: 6.875 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5569, allocations: 0 / 0.5912 GB, free: 6.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.032e-05/0.557, allocations: 45.55 kB / 0.5913 GB, free: 6.824 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.557, allocations: 8 kB / 0.5913 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.557, allocations: 3.562 kB / 0.5913 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.557, allocations: 0 / 0.5913 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.5571, allocations: 0 / 0.5913 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5571, allocations: 7.984 kB / 0.5913 GB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.5571, allocations: 3.562 kB / 0.5913 GB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.5572, allocations: 3.562 kB / 0.5913 GB, free: 6.809 MB / 410.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.597e-05/0.5572, allocations: 101 kB / 0.5914 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.5573, allocations: 3.906 kB / 0.5914 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.5574, allocations: 57.39 kB / 0.5914 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5574, allocations: 0 / 0.5914 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5574, allocations: 0 / 0.5914 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5574, allocations: 0.5 kB / 0.5914 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.5576, allocations: 134.1 kB / 0.5916 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.5576, allocations: 1.594 kB / 0.5916 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.5576, allocations: 7.938 kB / 0.5916 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5576, allocations: 0 / 0.5916 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.5576, allocations: 2.953 kB / 0.5916 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.5577, allocations: 1.25 kB / 0.5916 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5577, allocations: 4 kB / 0.5916 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001458/0.5578, allocations: 136.8 kB / 0.5917 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.5579, allocations: 81.09 kB / 0.5918 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.5579, allocations: 1.594 kB / 0.5918 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.5579, allocations: 4 kB / 0.5918 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.558, allocations: 0 / 0.5918 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.558, allocations: 4 kB / 0.5918 GB, free: 6.211 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.025e-05/0.558, allocations: 75.94 kB / 0.5919 GB, free: 6.137 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.5582, allocations: 4 kB / 0.5919 GB, free: 6.133 MB / 410.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 (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 Backend phase and start with SimCode phase: time 0.0001198/0.5583, allocations: 96.22 kB / 0.592 GB, free: 6.031 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.547e-05/0.5584, allocations: 16.67 kB / 0.592 GB, free: 6.016 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5584, allocations: 4.188 kB / 0.592 GB, free: 6.012 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.5584, allocations: 4 kB / 0.592 GB, free: 6.008 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.5586, allocations: 7.906 kB / 0.592 GB, free: 6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.5588, allocations: 44.86 kB / 0.592 GB, free: 5.934 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.5591, allocations: 0.688 MB / 0.5927 GB, free: 5.219 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5591, allocations: 0 / 0.5927 GB, free: 5.219 MB / 410.7 MB Notification: Performance of Templates: time 0.002005/0.5611, allocations: 283.3 kB / 0.593 GB, free: 4.977 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)