Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [: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 8.0.1-maint.8.0.x/package.mo): time 1.368/1.368, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 181.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.091/1.091, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007578/0.0007578, allocations: 98.02 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.041e-06/6.062e-06, allocations: 0 / 0.8511 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4142, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.747/3.161, allocations: 2.071 GB / 3.035 GB, free: 64.93 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/3.161, allocations: 95.19 kB / 3.035 GB, free: 64.84 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.1211/3.282, allocations: 58.59 MB / 3.092 GB, free: 6.289 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.337e-05/3.282, allocations: 24.84 kB / 3.092 GB, free: 6.266 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002036/3.284, allocations: 1.074 MB / 3.093 GB, free: 5.145 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/3.284, allocations: 8.531 kB / 3.093 GB, free: 5.137 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/3.285, allocations: 194.6 kB / 3.093 GB, free: 4.945 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/3.286, allocations: 0.6075 MB / 3.094 GB, free: 4.297 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/3.286, allocations: 28 kB / 3.094 GB, free: 4.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/3.287, allocations: 47.98 kB / 3.094 GB, free: 4.223 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001358/3.288, allocations: 0.9679 MB / 3.095 GB, free: 3.254 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/3.289, allocations: 0.7169 MB / 3.096 GB, free: 2.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/3.289, allocations: 0 / 3.096 GB, free: 2.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.905e-05/3.289, allocations: 4 kB / 3.096 GB, free: 2.496 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/3.289, allocations: 20 kB / 3.096 GB, free: 2.477 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/3.292, allocations: 2.232 MB / 3.098 GB, free: 192 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2427/3.535, allocations: 0.7126 MB / 3.098 GB, free: 399.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/3.536, allocations: 248.7 kB / 3.099 GB, free: 399.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.061e-05/3.536, allocations: 31.52 kB / 3.099 GB, free: 399.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004629/3.536, allocations: 380.3 kB / 3.099 GB, free: 399.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 2.565e-06/3.536, allocations: 0 / 3.099 GB, free: 399.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=72): time 0.001387/3.538, allocations: 0.6314 MB / 3.1 GB, free: 399.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/3.538, allocations: 245 kB / 3.1 GB, free: 399.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/3.538, allocations: 0.4931 MB / 3.1 GB, free: 399.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/3.538, allocations: 25.7 kB / 3.1 GB, free: 399.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/3.538, allocations: 284.8 kB / 3.101 GB, free: 399.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/3.538, allocations: 231.5 kB / 3.101 GB, free: 399 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/3.538, allocations: 4.75 kB / 3.101 GB, free: 399 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/3.539, allocations: 371.6 kB / 3.101 GB, free: 398.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/3.539, allocations: 182.9 kB / 3.101 GB, free: 398.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/3.539, allocations: 298.2 kB / 3.102 GB, free: 398.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/3.539, allocations: 232.8 kB / 3.102 GB, free: 398.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/3.539, allocations: 0 / 3.102 GB, free: 398.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001266/3.541, allocations: 0.6386 MB / 3.103 GB, free: 398.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/3.541, allocations: 7.656 kB / 3.103 GB, free: 398.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/3.541, allocations: 0 / 3.103 GB, free: 398.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/3.541, allocations: 86.97 kB / 3.103 GB, free: 398.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/3.542, allocations: 136.6 kB / 3.103 GB, free: 398.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/3.543, allocations: 1.455 MB / 3.104 GB, free: 397.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/3.544, allocations: 64.81 kB / 3.104 GB, free: 397.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/3.544, allocations: 30.08 kB / 3.104 GB, free: 397.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000124/3.544, allocations: 119.8 kB / 3.104 GB, free: 397.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/3.544, allocations: 71.81 kB / 3.104 GB, free: 397.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/3.546, allocations: 0.9339 MB / 3.105 GB, free: 397 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/3.546, allocations: 9.594 kB / 3.105 GB, free: 397 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/3.546, allocations: 0 / 3.105 GB, free: 397 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/3.546, allocations: 3.703 kB / 3.105 GB, free: 397 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/3.548, allocations: 1.692 MB / 3.107 GB, free: 396.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/3.548, allocations: 0 / 3.107 GB, free: 396.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/3.549, allocations: 155.1 kB / 3.107 GB, free: 396.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004723/3.549, allocations: 80.72 kB / 3.107 GB, free: 396.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/3.55, allocations: 11.92 kB / 3.107 GB, free: 396.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/3.551, allocations: 1.49 MB / 3.109 GB, free: 395.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/3.551, allocations: 0 / 3.109 GB, free: 395.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001246/3.552, allocations: 0.8128 MB / 3.11 GB, free: 395.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/3.552, allocations: 278.6 kB / 3.11 GB, free: 395.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/3.553, allocations: 3.75 kB / 3.11 GB, free: 395.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/3.553, allocations: 58.67 kB / 3.11 GB, free: 395.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/3.553, allocations: 52.8 kB / 3.11 GB, free: 395.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/3.553, allocations: 28.31 kB / 3.11 GB, free: 395.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003646/3.554, allocations: 408.5 kB / 3.11 GB, free: 395 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007678/3.554, allocations: 303.2 kB / 3.111 GB, free: 395 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/3.556, allocations: 1.012 MB / 3.112 GB, free: 394.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009337/3.557, allocations: 0.6426 MB / 3.112 GB, free: 394.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/3.557, allocations: 0 / 3.112 GB, free: 394.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005506/3.557, allocations: 448.3 kB / 3.113 GB, free: 394.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/3.558, allocations: 214.7 kB / 3.113 GB, free: 394.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/3.561, allocations: 1.327 MB / 3.114 GB, free: 394.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006144/3.562, allocations: 1.119 MB / 3.115 GB, free: 393.7 MB / 0.948 GB Notification: Performance of SimCode: time 3.4e-07/3.562, allocations: 7.219 kB / 3.115 GB, free: 393.7 MB / 0.948 GB Notification: Performance of Templates: time 0.02163/3.583, allocations: 16.31 MB / 3.131 GB, free: 392.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)