Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.317/2.317, allocations: 248.6 MB / 255.9 MB, free: 7.066 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.002449/0.002449, allocations: 183.1 kB / 315.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.1 MB / 0.5658 GB, free: 320 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.001347/0.001346, allocations: 87.28 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4876/0.489, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.7218, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.921/6.643, allocations: 2.192 GB / 3.075 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004889/6.644, allocations: 89.69 kB / 3.076 GB, free: 182.2 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.3494/6.993, allocations: 69.78 MB / 3.144 GB, free: 120.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/6.993, allocations: 16 kB / 3.144 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008243/7.001, allocations: 0.7319 MB / 3.144 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/7.003, allocations: 0.6775 MB / 3.145 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/7.003, allocations: 35.91 kB / 3.145 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/7.004, allocations: 56 kB / 3.145 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003643/7.007, allocations: 1.394 MB / 3.146 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/7.01, allocations: 1.005 MB / 3.147 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/7.01, allocations: 0 / 3.147 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/7.01, allocations: 7.984 kB / 3.147 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/7.01, allocations: 24 kB / 3.148 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01007/7.02, allocations: 2.974 MB / 3.15 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/7.023, allocations: 0.9015 MB / 3.151 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/7.024, allocations: 420 kB / 3.152 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/7.026, allocations: 478.4 kB / 3.152 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001793/7.028, allocations: 0.5688 MB / 3.153 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=99): time 5.15e-06/7.028, allocations: 3.938 kB / 3.153 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99): time 0.004569/7.032, allocations: 0.9796 MB / 3.154 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/7.032, allocations: 244.3 kB / 3.154 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/7.033, allocations: 0.5023 MB / 3.154 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003217/7.034, allocations: 29.7 kB / 3.154 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/7.034, allocations: 332.3 kB / 3.155 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/7.034, allocations: 319.2 kB / 3.155 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/7.035, allocations: 0 / 3.155 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001398/7.035, allocations: 378.8 kB / 3.155 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/7.036, allocations: 317.9 kB / 3.156 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/7.037, allocations: 434.4 kB / 3.156 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/7.039, allocations: 418.7 kB / 3.157 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/7.039, allocations: 0 / 3.157 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00409/7.043, allocations: 0.9952 MB / 3.157 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/7.043, allocations: 11.94 kB / 3.158 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/7.043, allocations: 0 / 3.158 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/7.045, allocations: 84.88 kB / 3.158 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/7.049, allocations: 243.6 kB / 3.158 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/7.054, allocations: 1.457 MB / 3.159 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/7.058, allocations: 131.4 kB / 3.159 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004318/7.059, allocations: 39.97 kB / 3.159 GB, free: 103.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0005693/7.059, allocations: 116.8 kB / 3.16 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/7.06, allocations: 82.97 kB / 3.16 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009496/7.069, allocations: 1.356 MB / 3.161 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/7.069, allocations: 12 kB / 3.161 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/7.07, allocations: 0 / 3.161 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-05/7.07, allocations: 7.969 kB / 3.161 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/7.072, allocations: 0.9674 MB / 3.162 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.308e-05/7.072, allocations: 4 kB / 3.162 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004451/7.077, allocations: 239.7 kB / 3.162 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/7.078, allocations: 88.7 kB / 3.162 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005059/7.079, allocations: 19.98 kB / 3.162 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004461/7.084, allocations: 1.48 MB / 3.164 GB, free: 99.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/7.084, allocations: 0 / 3.164 GB, free: 99.02 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005198/7.089, allocations: 1.094 MB / 3.165 GB, free: 97.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004404/7.093, allocations: 1.52 MB / 3.166 GB, free: 96.36 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009645/7.094, allocations: 315.6 kB / 3.167 GB, free: 96.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/7.095, allocations: 3.906 kB / 3.167 GB, free: 96.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002283/7.097, allocations: 111.9 kB / 3.167 GB, free: 95.92 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/7.097, allocations: 65.03 kB / 3.167 GB, free: 95.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002424/7.097, allocations: 35.98 kB / 3.167 GB, free: 95.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008648/7.098, allocations: 410.9 kB / 3.167 GB, free: 95.42 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002973/7.101, allocations: 438.9 kB / 3.168 GB, free: 94.99 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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.002586/7.104, allocations: 1.043 MB / 3.169 GB, free: 94.05 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003047/7.107, allocations: 0.9636 MB / 3.169 GB, free: 93.07 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.096e-06/7.107, allocations: 4 kB / 3.169 GB, free: 93.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002988/7.11, allocations: 0.6145 MB / 3.17 GB, free: 92.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/7.113, allocations: 214.1 kB / 3.17 GB, free: 92.24 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/7.125, allocations: 1.592 MB / 3.172 GB, free: 90.62 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/7.127, allocations: 1.206 MB / 3.173 GB, free: 89.38 MB / 0.8698 GB Notification: Performance of SimCode: time 1.583e-06/7.127, allocations: 0 / 3.173 GB, free: 89.38 MB / 0.8698 GB