Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.367/2.367, allocations: 248.6 MB / 255.9 MB, free: 7.227 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.001737/0.001737, allocations: 189.8 kB / 315.1 MB, free: 4.238 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.116/2.116, allocations: 205.1 MB / 0.5658 GB, free: 268 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.001308/0.001308, allocations: 95 kB / 0.67 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5114/0.5128, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.7309, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.14/6.871, allocations: 2.19 GB / 3.073 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/6.871, allocations: 94.44 kB / 3.073 GB, free: 177.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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.2303/7.101, allocations: 59.33 MB / 3.131 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/7.101, allocations: 8 kB / 3.131 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/7.103, allocations: 194.6 kB / 3.132 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/7.105, allocations: 0.6075 MB / 3.132 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.644e-05/7.105, allocations: 24 kB / 3.132 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/7.105, allocations: 44 kB / 3.132 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002351/7.107, allocations: 0.9757 MB / 3.133 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/7.109, allocations: 0.7115 MB / 3.134 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/7.109, allocations: 0 / 3.134 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/7.109, allocations: 0 / 3.134 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/7.109, allocations: 24 kB / 3.134 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006221/7.115, allocations: 2.231 MB / 3.136 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/7.117, allocations: 0.7245 MB / 3.137 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/7.118, allocations: 234.8 kB / 3.137 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/7.118, allocations: 36.59 kB / 3.137 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008415/7.119, allocations: 374 kB / 3.137 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 3.336e-06/7.119, allocations: 3.938 kB / 3.137 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72): time 0.002695/7.122, allocations: 0.6288 MB / 3.138 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.257e-05/7.122, allocations: 247.9 kB / 3.138 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/7.123, allocations: 0.4906 MB / 3.139 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002016/7.123, allocations: 33.7 kB / 3.139 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/7.123, allocations: 288.2 kB / 3.139 GB, free: 118 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/7.123, allocations: 224.6 kB / 3.139 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/7.124, allocations: 0 / 3.139 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001313/7.124, allocations: 378.7 kB / 3.14 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/7.124, allocations: 185.3 kB / 3.14 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006123/7.125, allocations: 294.4 kB / 3.14 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/7.126, allocations: 231.1 kB / 3.14 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/7.126, allocations: 0 / 3.14 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002695/7.128, allocations: 0.6365 MB / 3.141 GB, free: 116 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/7.128, allocations: 5.719 kB / 3.141 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/7.128, allocations: 7.984 kB / 3.141 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/7.129, allocations: 80.84 kB / 3.141 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/7.131, allocations: 139.8 kB / 3.141 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/7.134, allocations: 1.457 MB / 3.143 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/7.135, allocations: 63.61 kB / 3.143 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/7.135, allocations: 27.98 kB / 3.143 GB, free: 114.1 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.0002609/7.135, allocations: 116.8 kB / 3.143 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/7.136, allocations: 75.06 kB / 3.143 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/7.139, allocations: 0.9362 MB / 3.144 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/7.14, allocations: 8 kB / 3.144 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/7.14, allocations: 0 / 3.144 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/7.14, allocations: 3.984 kB / 3.144 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/7.144, allocations: 1.686 MB / 3.145 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/7.144, allocations: 4 kB / 3.145 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/7.146, allocations: 155.7 kB / 3.146 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009962/7.147, allocations: 80.78 kB / 3.146 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/7.147, allocations: 15.98 kB / 3.146 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/7.149, allocations: 1.476 MB / 3.147 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/7.149, allocations: 0 / 3.147 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002653/7.152, allocations: 0.8167 MB / 3.148 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002713/7.155, allocations: 1.231 MB / 3.149 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006673/7.156, allocations: 283.8 kB / 3.149 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/7.156, allocations: 0 / 3.149 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/7.157, allocations: 59.94 kB / 3.149 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/7.157, allocations: 48.7 kB / 3.149 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.219e-05/7.157, allocations: 31.98 kB / 3.15 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007167/7.158, allocations: 410.8 kB / 3.15 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002708/7.161, allocations: 379 kB / 3.15 GB, free: 106 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 (86): * Single equations (assignments): 83 * 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.002264/7.163, allocations: 0.9978 MB / 3.151 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002047/7.165, allocations: 0.6392 MB / 3.152 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/7.165, allocations: 0 / 3.152 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/7.166, allocations: 448.5 kB / 3.152 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/7.168, allocations: 217.1 kB / 3.152 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006163/7.175, allocations: 1.324 MB / 3.154 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/7.176, allocations: 1.127 MB / 3.155 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.773e-06/7.176, allocations: 0 / 3.155 GB, free: 101.3 MB / 0.8698 GB