Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.288/2.288, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001689/0.001689, allocations: 184 kB / 315.1 MB, free: 4.199 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.934/1.934, allocations: 205.1 MB / 0.5658 GB, free: 232 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.001348/0.001347, allocations: 77.88 kB / 0.67 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4774/0.4788, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.7127, allocations: 106.2 MB / 0.8835 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.926/6.638, allocations: 2.19 GB / 3.073 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/6.639, allocations: 86.77 kB / 3.073 GB, free: 177.5 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.2586/6.898, allocations: 63.61 MB / 3.135 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/6.898, allocations: 8 kB / 3.135 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/6.899, allocations: 194.6 kB / 3.136 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/6.901, allocations: 0.6076 MB / 3.136 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/6.901, allocations: 24 kB / 3.136 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/6.901, allocations: 44 kB / 3.136 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00248/6.904, allocations: 0.964 MB / 3.137 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/6.906, allocations: 0.7116 MB / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/6.906, allocations: 0 / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/6.906, allocations: 0 / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/6.906, allocations: 20 kB / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006066/6.912, allocations: 2.258 MB / 3.14 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/6.914, allocations: 0.6448 MB / 3.141 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006986/6.915, allocations: 242.7 kB / 3.141 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/6.915, allocations: 32.69 kB / 3.141 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008421/6.916, allocations: 370.1 kB / 3.141 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.677e-06/6.916, allocations: 3.938 kB / 3.141 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.002855/6.919, allocations: 0.6404 MB / 3.142 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/6.919, allocations: 244 kB / 3.142 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/6.92, allocations: 0.4983 MB / 3.143 GB, free: 114 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/6.921, allocations: 25.7 kB / 3.143 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/6.921, allocations: 288.2 kB / 3.143 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004441/6.922, allocations: 224.6 kB / 3.143 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/6.922, allocations: 0 / 3.143 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001693/6.922, allocations: 374.8 kB / 3.144 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/6.922, allocations: 185.3 kB / 3.144 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/6.923, allocations: 302.3 kB / 3.144 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/6.924, allocations: 235.1 kB / 3.144 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/6.924, allocations: 0 / 3.144 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003783/6.928, allocations: 0.6443 MB / 3.145 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/6.928, allocations: 11.98 kB / 3.145 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/6.928, allocations: 0 / 3.145 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/6.929, allocations: 80.84 kB / 3.145 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/6.93, allocations: 135.8 kB / 3.145 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/6.933, allocations: 1.465 MB / 3.147 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/6.934, allocations: 63.61 kB / 3.147 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/6.935, allocations: 23.98 kB / 3.147 GB, free: 109.8 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.0002565/6.935, allocations: 120.8 kB / 3.147 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/6.935, allocations: 75.16 kB / 3.147 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005045/6.94, allocations: 0.9127 MB / 3.148 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/6.94, allocations: 8 kB / 3.148 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/6.94, allocations: 0 / 3.148 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.62e-05/6.94, allocations: 3.984 kB / 3.148 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/6.942, allocations: 0.7515 MB / 3.149 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/6.942, allocations: 0 / 3.149 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/6.943, allocations: 151.7 kB / 3.149 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009761/6.944, allocations: 80.78 kB / 3.149 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.273e-05/6.944, allocations: 19.98 kB / 3.149 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/6.947, allocations: 1.48 MB / 3.15 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/6.947, allocations: 0 / 3.15 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002795/6.95, allocations: 0.7373 MB / 3.151 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00287/6.953, allocations: 1.155 MB / 3.152 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007424/6.954, allocations: 276 kB / 3.152 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/6.954, allocations: 4 kB / 3.152 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/6.955, allocations: 59.94 kB / 3.152 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/6.955, allocations: 52.69 kB / 3.152 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-05/6.955, allocations: 31.98 kB / 3.152 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007617/6.956, allocations: 402.9 kB / 3.153 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00274/6.959, allocations: 371.1 kB / 3.153 GB, free: 102.9 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 (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.002292/6.961, allocations: 1.001 MB / 3.154 GB, free: 102 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002356/6.963, allocations: 0.6429 MB / 3.155 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/6.964, allocations: 0 / 3.155 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/6.965, allocations: 444.6 kB / 3.155 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/6.968, allocations: 207.1 kB / 3.155 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/6.978, allocations: 1.311 MB / 3.157 GB, free: 99.33 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/6.98, allocations: 1.119 MB / 3.158 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of SimCode: time 1.593e-06/6.98, allocations: 0 / 3.158 GB, free: 98.18 MB / 0.8698 GB