Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.114/2.114, allocations: 253.1 MB / 260.4 MB, free: 7.559 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001889/0.001889, allocations: 185.2 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 0.5704 GB, free: 14.99 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 97.42 kB / 0.6746 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.767e-06/8.937e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2131, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.726/5.939, allocations: 2.191 GB / 3.079 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000386/5.939, allocations: 93.56 kB / 3.079 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2314/6.171, allocations: 58.87 MB / 3.137 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001188/6.171, allocations: 24 kB / 3.137 GB, free: 119.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00373/6.175, allocations: 1.105 MB / 3.138 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/6.175, allocations: 12.03 kB / 3.138 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/6.177, allocations: 202.5 kB / 3.138 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/6.179, allocations: 0.6328 MB / 3.139 GB, free: 117 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/6.18, allocations: 67.69 kB / 3.139 GB, free: 117 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/6.18, allocations: 48 kB / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002798/6.183, allocations: 0.9952 MB / 3.14 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/6.185, allocations: 0.7233 MB / 3.14 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.758e-05/6.185, allocations: 4 kB / 3.14 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/6.185, allocations: 4 kB / 3.14 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/6.185, allocations: 20 kB / 3.14 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006815/6.192, allocations: 2.297 MB / 3.143 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/6.195, allocations: 0.769 MB / 3.143 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/6.195, allocations: 246.8 kB / 3.144 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/6.196, allocations: 48.59 kB / 3.144 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008454/6.196, allocations: 382.1 kB / 3.144 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.657e-06/6.196, allocations: 0 / 3.144 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.002816/6.199, allocations: 0.6638 MB / 3.145 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/6.199, allocations: 240 kB / 3.145 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/6.201, allocations: 0.5023 MB / 3.145 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001878/6.201, allocations: 25.7 kB / 3.145 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000268/6.201, allocations: 292.3 kB / 3.146 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/6.201, allocations: 244.3 kB / 3.146 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/6.201, allocations: 0 / 3.146 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001371/6.201, allocations: 378.8 kB / 3.146 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/6.202, allocations: 193.2 kB / 3.146 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/6.203, allocations: 298.4 kB / 3.147 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/6.203, allocations: 243.1 kB / 3.147 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/6.203, allocations: 0 / 3.147 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002758/6.206, allocations: 0.6639 MB / 3.148 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/6.206, allocations: 11.84 kB / 3.148 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/6.206, allocations: 0 / 3.148 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/6.207, allocations: 84.83 kB / 3.148 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/6.209, allocations: 147.8 kB / 3.148 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/6.212, allocations: 1.457 MB / 3.149 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/6.214, allocations: 75.53 kB / 3.149 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/6.214, allocations: 27.97 kB / 3.149 GB, free: 105.5 MB / 0.8698 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 (78): * Single equations (assignments): 77 * 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.0002822/6.214, allocations: 120.8 kB / 3.149 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/6.214, allocations: 71.16 kB / 3.15 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/6.218, allocations: 0.9801 MB / 3.15 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/6.218, allocations: 15.91 kB / 3.15 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/6.218, allocations: 0 / 3.15 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.065e-05/6.218, allocations: 7.984 kB / 3.151 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005722/6.224, allocations: 1.737 MB / 3.152 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/6.224, allocations: 4 kB / 3.152 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/6.226, allocations: 167.7 kB / 3.152 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/6.227, allocations: 88.77 kB / 3.152 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/6.227, allocations: 15.98 kB / 3.152 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/6.23, allocations: 1.48 MB / 3.154 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.191e-05/6.23, allocations: 0 / 3.154 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00305/6.233, allocations: 0.8557 MB / 3.155 GB, free: 99.78 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009381/6.234, allocations: 279.8 kB / 3.155 GB, free: 99.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/6.234, allocations: 7.891 kB / 3.155 GB, free: 99.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/6.236, allocations: 59.95 kB / 3.155 GB, free: 99.42 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/6.236, allocations: 56.69 kB / 3.155 GB, free: 99.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/6.236, allocations: 35.97 kB / 3.155 GB, free: 99.33 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008236/6.237, allocations: 411 kB / 3.156 GB, free: 98.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001844/6.239, allocations: 303.1 kB / 3.156 GB, free: 98.64 MB / 0.8698 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 (93): * Single equations (assignments): 90 * 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.002457/6.241, allocations: 1.011 MB / 3.157 GB, free: 97.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002305/6.244, allocations: 0.6586 MB / 3.157 GB, free: 97.06 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/6.244, allocations: 128 / 3.157 GB, free: 97.06 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/6.245, allocations: 480.4 kB / 3.158 GB, free: 96.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/6.248, allocations: 225.3 kB / 3.158 GB, free: 96.36 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006804/6.254, allocations: 1.371 MB / 3.159 GB, free: 94.96 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/6.256, allocations: 1.135 MB / 3.161 GB, free: 93.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.213e-06/6.256, allocations: 0 / 3.161 GB, free: 93.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.04394/6.3, allocations: 16.63 MB / 3.177 GB, free: 77.29 MB / 0.8698 GB