Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.252/2.252, allocations: 248.6 MB / 255.9 MB, free: 7.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001714/0.001713, allocations: 177.2 kB / 315.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.1 MB / 0.5658 GB, free: 376 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 94.56 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5042/0.5056, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.7591, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.069/6.828, allocations: 2.19 GB / 3.073 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/6.828, allocations: 91.12 kB / 3.073 GB, free: 174.7 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.258/7.086, allocations: 58.74 MB / 3.131 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/7.086, allocations: 12 kB / 3.131 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/7.088, allocations: 198.6 kB / 3.131 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/7.089, allocations: 0.5959 MB / 3.131 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/7.089, allocations: 24 kB / 3.131 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/7.09, allocations: 43.91 kB / 3.132 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00227/7.092, allocations: 0.9601 MB / 3.132 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/7.094, allocations: 0.6959 MB / 3.133 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/7.094, allocations: 0 / 3.133 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/7.094, allocations: 0 / 3.133 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/7.094, allocations: 20 kB / 3.133 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005629/7.1, allocations: 2.208 MB / 3.135 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/7.101, allocations: 0.7012 MB / 3.136 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005743/7.102, allocations: 238.7 kB / 3.136 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/7.102, allocations: 32.69 kB / 3.136 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000776/7.103, allocations: 370 kB / 3.137 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.396e-06/7.103, allocations: 0 / 3.137 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.002581/7.105, allocations: 0.6132 MB / 3.137 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/7.106, allocations: 243.9 kB / 3.137 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/7.108, allocations: 0.4944 MB / 3.138 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002604/7.108, allocations: 25.7 kB / 3.138 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/7.109, allocations: 284.2 kB / 3.138 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/7.109, allocations: 224.6 kB / 3.138 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/7.109, allocations: 4 kB / 3.138 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001283/7.109, allocations: 370.8 kB / 3.139 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/7.11, allocations: 177.3 kB / 3.139 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006033/7.11, allocations: 282.4 kB / 3.139 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/7.111, allocations: 239 kB / 3.139 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/7.111, allocations: 0 / 3.139 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002557/7.114, allocations: 0.6209 MB / 3.14 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/7.114, allocations: 4 kB / 3.14 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/7.114, allocations: 3.984 kB / 3.14 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/7.115, allocations: 84.84 kB / 3.14 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/7.116, allocations: 127.9 kB / 3.14 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/7.119, allocations: 1.465 MB / 3.142 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/7.12, allocations: 63.61 kB / 3.142 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/7.12, allocations: 27.98 kB / 3.142 GB, free: 111.7 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 (72): * Single equations (assignments): 71 * 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.0002445/7.12, allocations: 120.5 kB / 3.142 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/7.121, allocations: 67.16 kB / 3.142 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004144/7.125, allocations: 0.8854 MB / 3.143 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/7.125, allocations: 15.91 kB / 3.143 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/7.125, allocations: 0 / 3.143 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-05/7.125, allocations: 3.984 kB / 3.143 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008275/7.133, allocations: 1.635 MB / 3.144 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/7.133, allocations: 3.938 kB / 3.144 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/7.135, allocations: 139.8 kB / 3.145 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/7.137, allocations: 80.78 kB / 3.145 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002669/7.137, allocations: 19.89 kB / 3.145 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003993/7.141, allocations: 1.48 MB / 3.146 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/7.141, allocations: 4.031 kB / 3.146 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004073/7.145, allocations: 0.797 MB / 3.147 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004454/7.15, allocations: 1.2 MB / 3.148 GB, free: 105 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/7.151, allocations: 271.9 kB / 3.148 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/7.151, allocations: 4.062 kB / 3.148 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/7.153, allocations: 55.95 kB / 3.148 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/7.154, allocations: 52.69 kB / 3.148 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/7.154, allocations: 31.98 kB / 3.148 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001133/7.155, allocations: 398.9 kB / 3.149 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003946/7.159, allocations: 371.1 kB / 3.149 GB, free: 103.8 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 (81): * Single equations (assignments): 78 * 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.003296/7.162, allocations: 0.9935 MB / 3.15 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002869/7.165, allocations: 0.6195 MB / 3.151 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/7.165, allocations: 3.938 kB / 3.151 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/7.167, allocations: 432.6 kB / 3.151 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/7.17, allocations: 212 kB / 3.151 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008401/7.178, allocations: 1.299 MB / 3.153 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/7.18, allocations: 1.099 MB / 3.154 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of SimCode: time 1.553e-06/7.18, allocations: 0 / 3.154 GB, free: 99.21 MB / 0.8698 GB