Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.393/2.393, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.002283/0.002282, allocations: 179.7 kB / 315.1 MB, free: 4.301 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.204/2.204, allocations: 205.1 MB / 0.5658 GB, free: 392 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.00133/0.00133, allocations: 94.41 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5248/0.5262, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.7472, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.997/6.744, allocations: 2.191 GB / 3.074 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004657/6.745, allocations: 89.62 kB / 3.074 GB, free: 176.3 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.3171/7.062, allocations: 68.11 MB / 3.141 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/7.062, allocations: 12 kB / 3.141 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/7.064, allocations: 226.4 kB / 3.141 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/7.066, allocations: 0.6308 MB / 3.142 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.133e-05/7.066, allocations: 35.98 kB / 3.142 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/7.066, allocations: 48 kB / 3.142 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002487/7.068, allocations: 1.019 MB / 3.143 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/7.07, allocations: 0.7701 MB / 3.143 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/7.07, allocations: 0 / 3.143 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/7.071, allocations: 0 / 3.143 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/7.071, allocations: 24 kB / 3.144 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006475/7.077, allocations: 2.402 MB / 3.146 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/7.079, allocations: 0.6532 MB / 3.146 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/7.08, allocations: 250.8 kB / 3.147 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/7.081, allocations: 474.1 kB / 3.147 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000928/7.082, allocations: 393.9 kB / 3.148 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 4.158e-06/7.082, allocations: 0 / 3.148 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.003246/7.085, allocations: 0.7029 MB / 3.148 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/7.085, allocations: 240 kB / 3.148 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/7.086, allocations: 0.4983 MB / 3.149 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/7.086, allocations: 29.7 kB / 3.149 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/7.087, allocations: 320.1 kB / 3.149 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/7.087, allocations: 228.5 kB / 3.15 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/7.087, allocations: 4 kB / 3.15 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001445/7.087, allocations: 374.7 kB / 3.15 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007113/7.088, allocations: 197.3 kB / 3.15 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/7.089, allocations: 298.3 kB / 3.15 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/7.091, allocations: 299 kB / 3.151 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/7.091, allocations: 0 / 3.151 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004587/7.096, allocations: 0.7146 MB / 3.151 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/7.096, allocations: 8.062 kB / 3.151 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/7.096, allocations: 0 / 3.151 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/7.097, allocations: 88.77 kB / 3.151 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/7.099, allocations: 143.7 kB / 3.152 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005035/7.104, allocations: 1.453 MB / 3.153 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/7.106, allocations: 63.61 kB / 3.153 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/7.107, allocations: 31.97 kB / 3.153 GB, free: 103 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 (75): * Single equations (assignments): 74 * 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.0004484/7.107, allocations: 130.2 kB / 3.153 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000483/7.108, allocations: 71.34 kB / 3.153 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00688/7.114, allocations: 0.9986 MB / 3.154 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/7.115, allocations: 12 kB / 3.154 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/7.115, allocations: 0 / 3.154 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-05/7.115, allocations: 7.922 kB / 3.154 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/7.117, allocations: 0.7599 MB / 3.155 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/7.117, allocations: 0 / 3.155 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/7.12, allocations: 155.7 kB / 3.155 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/7.121, allocations: 88.77 kB / 3.155 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/7.121, allocations: 11.98 kB / 3.155 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/7.124, allocations: 1.472 MB / 3.157 GB, free: 99.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/7.124, allocations: 0 / 3.157 GB, free: 99.15 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003301/7.127, allocations: 0.823 MB / 3.157 GB, free: 98.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003273/7.13, allocations: 1.222 MB / 3.159 GB, free: 97.05 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007115/7.131, allocations: 279.8 kB / 3.159 GB, free: 96.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/7.131, allocations: 4.062 kB / 3.159 GB, free: 96.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/7.132, allocations: 59.94 kB / 3.159 GB, free: 96.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/7.133, allocations: 56.7 kB / 3.159 GB, free: 96.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.715e-05/7.133, allocations: 27.98 kB / 3.159 GB, free: 96.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007735/7.134, allocations: 414.9 kB / 3.159 GB, free: 96.21 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002482/7.136, allocations: 414.8 kB / 3.16 GB, free: 95.81 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 (84): * Single equations (assignments): 81 * 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.002338/7.138, allocations: 1.018 MB / 3.161 GB, free: 94.89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002578/7.141, allocations: 0.6507 MB / 3.162 GB, free: 94.23 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/7.141, allocations: 4 kB / 3.162 GB, free: 94.23 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/7.142, allocations: 444.7 kB / 3.162 GB, free: 93.78 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/7.144, allocations: 203.4 kB / 3.162 GB, free: 93.58 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/7.151, allocations: 1.386 MB / 3.163 GB, free: 92.16 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/7.152, allocations: 1.146 MB / 3.165 GB, free: 90.98 MB / 0.8698 GB Notification: Performance of SimCode: time 1.713e-06/7.153, allocations: 4 kB / 3.165 GB, free: 90.98 MB / 0.8698 GB