Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.136/2.136, allocations: 248.6 MB / 255.9 MB, free: 1.598 MB / 195.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00174/0.00174, allocations: 182.8 kB / 315.1 MB, free: 10.03 MB / 259.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.1 MB / 0.5658 GB, free: 14.45 MB / 435.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 95.69 kB / 0.6699 GB, free: 52.56 MB / 499.1 MB Notification: Performance of FrontEnd - loaded program: time 0.2936/0.295, allocations: 112.4 MB / 0.7797 GB, free: 11.03 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.5572, allocations: 106.2 MB / 0.8835 GB, free: 0.6641 MB / 0.6437 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.984/6.541, allocations: 2.191 GB / 3.074 GB, free: 148.9 MB / 0.878 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/6.542, allocations: 82.23 kB / 3.074 GB, free: 148.9 MB / 0.878 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.398/6.94, allocations: 94.19 MB / 3.166 GB, free: 63.76 MB / 0.878 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/6.94, allocations: 8 kB / 3.166 GB, free: 63.75 MB / 0.878 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/6.942, allocations: 257.8 kB / 3.166 GB, free: 63.5 MB / 0.878 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/6.944, allocations: 0.7832 MB / 3.167 GB, free: 62.67 MB / 0.878 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/6.944, allocations: 44 kB / 3.167 GB, free: 62.63 MB / 0.878 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/6.944, allocations: 79.98 kB / 3.167 GB, free: 62.55 MB / 0.878 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003666/6.948, allocations: 1.348 MB / 3.168 GB, free: 61.2 MB / 0.878 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003342/6.952, allocations: 1.14 MB / 3.17 GB, free: 60 MB / 0.878 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/6.952, allocations: 4 kB / 3.17 GB, free: 60 MB / 0.878 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/6.952, allocations: 0 / 3.17 GB, free: 60 MB / 0.878 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/6.952, allocations: 35.91 kB / 3.17 GB, free: 59.96 MB / 0.878 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009825/6.962, allocations: 3.755 MB / 3.173 GB, free: 56.07 MB / 0.878 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/6.964, allocations: 0.8526 MB / 3.174 GB, free: 55.21 MB / 0.878 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008823/6.965, allocations: 355.7 kB / 3.174 GB, free: 54.86 MB / 0.878 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/6.965, allocations: 48.91 kB / 3.175 GB, free: 54.8 MB / 0.878 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/6.966, allocations: 0.5147 MB / 3.175 GB, free: 54.27 MB / 0.878 GB Notification: Performance of pre-optimization done (n=104): time 4.298e-06/6.966, allocations: 0 / 3.175 GB, free: 54.27 MB / 0.878 GB Notification: Performance of matching and sorting (n=104): time 0.003568/6.97, allocations: 0.9013 MB / 3.176 GB, free: 53.36 MB / 0.878 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/6.97, allocations: 248.3 kB / 3.176 GB, free: 53.07 MB / 0.878 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/6.971, allocations: 0.6054 MB / 3.177 GB, free: 52.45 MB / 0.878 GB Notification: Performance of collectPreVariables (initialization): time 0.0002781/6.972, allocations: 29.7 kB / 3.177 GB, free: 52.42 MB / 0.878 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/6.972, allocations: 467.5 kB / 3.177 GB, free: 51.95 MB / 0.878 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/6.973, allocations: 331 kB / 3.178 GB, free: 51.62 MB / 0.878 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/6.973, allocations: 3.938 kB / 3.178 GB, free: 51.62 MB / 0.878 GB Notification: Performance of setup shared object (initialization): time 0.0001607/6.973, allocations: 398.7 kB / 3.178 GB, free: 51.22 MB / 0.878 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008689/6.974, allocations: 303.7 kB / 3.178 GB, free: 50.93 MB / 0.878 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009763/6.975, allocations: 421.5 kB / 3.179 GB, free: 50.48 MB / 0.878 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/6.976, allocations: 370.8 kB / 3.179 GB, free: 50.12 MB / 0.878 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/6.976, allocations: 7.938 kB / 3.179 GB, free: 50.12 MB / 0.878 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00369/6.98, allocations: 0.9484 MB / 3.18 GB, free: 49.16 MB / 0.878 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/6.98, allocations: 8 kB / 3.18 GB, free: 49.15 MB / 0.878 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/6.98, allocations: 0 / 3.18 GB, free: 49.15 MB / 0.878 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/6.981, allocations: 88.72 kB / 3.18 GB, free: 49.06 MB / 0.878 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/6.983, allocations: 207.7 kB / 3.18 GB, free: 48.86 MB / 0.878 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/6.986, allocations: 1.469 MB / 3.182 GB, free: 47.26 MB / 0.878 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/6.988, allocations: 83.3 kB / 3.182 GB, free: 47.18 MB / 0.878 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000241/6.988, allocations: 39.97 kB / 3.182 GB, free: 47.14 MB / 0.878 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 (116): * Single equations (assignments): 115 * 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.0003474/6.988, allocations: 132.8 kB / 3.182 GB, free: 47 MB / 0.878 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/6.989, allocations: 95.53 kB / 3.182 GB, free: 46.91 MB / 0.878 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005822/6.994, allocations: 1.309 MB / 3.183 GB, free: 45.61 MB / 0.878 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/6.995, allocations: 12 kB / 3.183 GB, free: 45.6 MB / 0.878 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/6.995, allocations: 0 / 3.183 GB, free: 45.6 MB / 0.878 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/6.995, allocations: 3.984 kB / 3.183 GB, free: 45.59 MB / 0.878 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008324/7.003, allocations: 2.342 MB / 3.186 GB, free: 43.21 MB / 0.878 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-05/7.003, allocations: 4 kB / 3.186 GB, free: 43.2 MB / 0.878 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/7.005, allocations: 195.7 kB / 3.186 GB, free: 43.01 MB / 0.878 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009967/7.006, allocations: 84.72 kB / 3.186 GB, free: 42.93 MB / 0.878 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/7.006, allocations: 19.98 kB / 3.186 GB, free: 42.91 MB / 0.878 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003098/7.009, allocations: 1.492 MB / 3.187 GB, free: 41.29 MB / 0.878 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/7.009, allocations: 0 / 3.187 GB, free: 41.29 MB / 0.878 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00427/7.014, allocations: 1.06 MB / 3.188 GB, free: 40.21 MB / 0.878 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004838/7.019, allocations: 1.471 MB / 3.19 GB, free: 38.71 MB / 0.878 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/7.02, allocations: 351.3 kB / 3.19 GB, free: 38.35 MB / 0.878 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/7.02, allocations: 0 / 3.19 GB, free: 38.35 MB / 0.878 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/7.022, allocations: 63.94 kB / 3.19 GB, free: 38.29 MB / 0.878 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/7.022, allocations: 64.89 kB / 3.19 GB, free: 38.23 MB / 0.878 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/7.022, allocations: 35.98 kB / 3.19 GB, free: 38.19 MB / 0.878 GB Notification: Performance of sort global known variables: time 0.001207/7.023, allocations: 0.5148 MB / 3.191 GB, free: 37.68 MB / 0.878 GB Notification: Performance of remove unused functions: time 0.003081/7.026, allocations: 486.4 kB / 3.191 GB, free: 37.21 MB / 0.878 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 (115): * Single equations (assignments): 112 * 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.002296/7.029, allocations: 1.02 MB / 3.192 GB, free: 36.35 MB / 0.878 GB Notification: Performance of simCode: created initialization part: time 0.002811/7.032, allocations: 0.9049 MB / 3.193 GB, free: 35.43 MB / 0.878 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/7.032, allocations: 4 kB / 3.193 GB, free: 35.43 MB / 0.878 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/7.033, allocations: 0.5558 MB / 3.194 GB, free: 34.87 MB / 0.878 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/7.036, allocations: 230.3 kB / 3.194 GB, free: 34.65 MB / 0.878 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008325/7.044, allocations: 1.822 MB / 3.196 GB, free: 32.79 MB / 0.878 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/7.046, allocations: 1.328 MB / 3.197 GB, free: 31.43 MB / 0.878 GB Notification: Performance of SimCode: time 1.262e-06/7.046, allocations: 0 / 3.197 GB, free: 31.43 MB / 0.878 GB