Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.345/2.345, 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.001691/0.001691, allocations: 181.3 kB / 315.1 MB, free: 4.234 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.185/2.185, allocations: 205.1 MB / 0.5658 GB, free: 416 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.001897/0.001896, allocations: 82.83 kB / 0.67 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4949/0.4969, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.7686, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.963/6.732, allocations: 2.19 GB / 3.074 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/6.732, allocations: 90.81 kB / 3.074 GB, free: 177.4 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.2395/6.972, allocations: 58.9 MB / 3.131 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/6.972, allocations: 8 kB / 3.131 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/6.974, allocations: 190.6 kB / 3.131 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/6.976, allocations: 0.6075 MB / 3.132 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.853e-05/6.976, allocations: 28 kB / 3.132 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/6.976, allocations: 40 kB / 3.132 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002557/6.978, allocations: 0.964 MB / 3.133 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/6.98, allocations: 0.6999 MB / 3.134 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/6.981, allocations: 3.938 kB / 3.134 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/6.981, allocations: 4 kB / 3.134 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/6.981, allocations: 20 kB / 3.134 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007298/6.988, allocations: 2.223 MB / 3.136 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/6.99, allocations: 0.6231 MB / 3.137 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/6.99, allocations: 238.8 kB / 3.137 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/6.991, allocations: 44.67 kB / 3.137 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/6.992, allocations: 370 kB / 3.137 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 3.667e-06/6.992, allocations: 0 / 3.137 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.0028/6.995, allocations: 0.6171 MB / 3.138 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/6.995, allocations: 247.9 kB / 3.138 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/6.996, allocations: 0.4945 MB / 3.138 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/6.996, allocations: 25.7 kB / 3.138 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/6.996, allocations: 288.2 kB / 3.139 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/6.996, allocations: 232.5 kB / 3.139 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/6.997, allocations: 0 / 3.139 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001721/6.997, allocations: 374.8 kB / 3.139 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/6.997, allocations: 185.3 kB / 3.14 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/6.998, allocations: 290.4 kB / 3.14 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/6.999, allocations: 235 kB / 3.14 GB, free: 117 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/6.999, allocations: 0 / 3.14 GB, free: 117 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002599/7.001, allocations: 0.6366 MB / 3.141 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/7.001, allocations: 10.59 kB / 3.141 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/7.001, allocations: 0 / 3.141 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/7.002, allocations: 88.83 kB / 3.141 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/7.004, allocations: 127.9 kB / 3.141 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004687/7.009, allocations: 1.457 MB / 3.142 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/7.011, allocations: 71.5 kB / 3.142 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002984/7.011, allocations: 23.98 kB / 3.142 GB, free: 114.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 (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.0004189/7.012, allocations: 112.9 kB / 3.142 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004872/7.012, allocations: 75.09 kB / 3.143 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00575/7.018, allocations: 0.8934 MB / 3.143 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/7.018, allocations: 12 kB / 3.143 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/7.018, allocations: 0 / 3.143 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/7.018, allocations: 3.984 kB / 3.143 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/7.02, allocations: 0.7164 MB / 3.144 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/7.021, allocations: 0 / 3.144 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/7.023, allocations: 143.8 kB / 3.144 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/7.024, allocations: 92.7 kB / 3.144 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00025/7.024, allocations: 11.98 kB / 3.144 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/7.028, allocations: 1.484 MB / 3.146 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/7.028, allocations: 4.062 kB / 3.146 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004584/7.033, allocations: 0.7295 MB / 3.147 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003279/7.036, allocations: 1.144 MB / 3.148 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009683/7.037, allocations: 271.9 kB / 3.148 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003806/7.037, allocations: 0 / 3.148 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/7.039, allocations: 55.95 kB / 3.148 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/7.04, allocations: 52.7 kB / 3.148 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/7.04, allocations: 31.97 kB / 3.148 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001442/7.041, allocations: 402.9 kB / 3.148 GB, free: 108 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004776/7.046, allocations: 371.1 kB / 3.149 GB, free: 107.6 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 (82): * Single equations (assignments): 79 * 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.003409/7.05, allocations: 1.007 MB / 3.15 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002282/7.052, allocations: 0.6313 MB / 3.15 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/7.052, allocations: 0 / 3.15 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/7.053, allocations: 436.5 kB / 3.151 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/7.055, allocations: 215 kB / 3.151 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006152/7.061, allocations: 1.307 MB / 3.152 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/7.062, allocations: 1.103 MB / 3.153 GB, free: 103 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/7.062, allocations: 0 / 3.153 GB, free: 103 MB / 0.8698 GB