Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.219/2.219, allocations: 248.6 MB / 255.9 MB, free: 7.125 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.001683/0.001682, allocations: 183.4 kB / 315.1 MB, free: 4.273 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.066/2.066, allocations: 205.1 MB / 0.5658 GB, free: 368 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.001791/0.001791, allocations: 83.39 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4897/0.4915, allocations: 112.4 MB / 0.7797 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.7084, allocations: 106.3 MB / 0.8835 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.161/6.869, allocations: 2.191 GB / 3.074 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/6.87, allocations: 91.5 kB / 3.075 GB, free: 174.7 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.2967/7.166, allocations: 60.01 MB / 3.133 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/7.166, allocations: 8 kB / 3.133 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/7.168, allocations: 198.5 kB / 3.133 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/7.17, allocations: 0.6484 MB / 3.134 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/7.171, allocations: 63.7 kB / 3.134 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/7.171, allocations: 44 kB / 3.134 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002622/7.173, allocations: 0.9913 MB / 3.135 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/7.176, allocations: 0.731 MB / 3.136 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/7.176, allocations: 0 / 3.136 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/7.176, allocations: 0 / 3.136 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/7.176, allocations: 20 kB / 3.136 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006668/7.183, allocations: 2.293 MB / 3.138 GB, free: 117 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002759/7.185, allocations: 0.7807 MB / 3.139 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/7.186, allocations: 250.8 kB / 3.139 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/7.186, allocations: 32.61 kB / 3.139 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008959/7.187, allocations: 394 kB / 3.139 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 6.372e-06/7.187, allocations: 0 / 3.139 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.002845/7.19, allocations: 0.6521 MB / 3.14 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/7.19, allocations: 248 kB / 3.14 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/7.191, allocations: 0.5023 MB / 3.141 GB, free: 114 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000231/7.192, allocations: 25.7 kB / 3.141 GB, free: 114 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00026/7.192, allocations: 288.3 kB / 3.141 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/7.192, allocations: 248.3 kB / 3.141 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/7.192, allocations: 0 / 3.141 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001343/7.192, allocations: 374.8 kB / 3.142 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005488/7.193, allocations: 189.3 kB / 3.142 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/7.194, allocations: 302.4 kB / 3.142 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006838/7.194, allocations: 239.1 kB / 3.142 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/7.194, allocations: 0 / 3.142 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002785/7.197, allocations: 0.6678 MB / 3.143 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/7.197, allocations: 4 kB / 3.143 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/7.197, allocations: 3.906 kB / 3.143 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/7.198, allocations: 84.84 kB / 3.143 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/7.2, allocations: 155.8 kB / 3.143 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/7.203, allocations: 1.457 MB / 3.145 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/7.204, allocations: 71.59 kB / 3.145 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/7.204, allocations: 35.92 kB / 3.145 GB, free: 109.7 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 (78): * Single equations (assignments): 77 * 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.0002564/7.204, allocations: 120.8 kB / 3.145 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/7.205, allocations: 75.09 kB / 3.145 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004913/7.21, allocations: 0.9722 MB / 3.146 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/7.21, allocations: 8 kB / 3.146 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/7.21, allocations: 7.891 kB / 3.146 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/7.21, allocations: 3.984 kB / 3.146 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005548/7.215, allocations: 1.74 MB / 3.148 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/7.215, allocations: 0 / 3.148 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/7.217, allocations: 171.8 kB / 3.148 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009423/7.218, allocations: 80.78 kB / 3.148 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.143e-05/7.218, allocations: 15.98 kB / 3.148 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/7.22, allocations: 1.48 MB / 3.149 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/7.22, allocations: 0 / 3.149 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002729/7.223, allocations: 0.8518 MB / 3.15 GB, free: 104 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002822/7.226, allocations: 1.27 MB / 3.151 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008215/7.227, allocations: 287.7 kB / 3.152 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/7.227, allocations: 4 kB / 3.152 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/7.228, allocations: 63.94 kB / 3.152 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/7.229, allocations: 52.7 kB / 3.152 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/7.229, allocations: 40.03 kB / 3.152 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007333/7.23, allocations: 406.9 kB / 3.152 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002601/7.232, allocations: 375.1 kB / 3.153 GB, free: 101.5 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * 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.002225/7.234, allocations: 1.01 MB / 3.154 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002163/7.237, allocations: 0.6664 MB / 3.154 GB, free: 99.91 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/7.237, allocations: 3.938 kB / 3.154 GB, free: 99.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00126/7.238, allocations: 476.6 kB / 3.155 GB, free: 99.42 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/7.24, allocations: 211.6 kB / 3.155 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/7.247, allocations: 1.359 MB / 3.156 GB, free: 97.82 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/7.248, allocations: 1.139 MB / 3.157 GB, free: 96.66 MB / 0.8698 GB Notification: Performance of SimCode: time 1.613e-06/7.248, allocations: 0 / 3.157 GB, free: 96.66 MB / 0.8698 GB