Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.418/2.418, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.001747/0.001747, allocations: 188.2 kB / 315.1 MB, free: 4.277 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.118/2.118, allocations: 205.1 MB / 0.5658 GB, free: 452 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.001888/0.001888, allocations: 83.45 kB / 0.67 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5184/0.5203, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.7852, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.125/6.91, allocations: 2.191 GB / 3.075 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/6.911, allocations: 93.56 kB / 3.075 GB, free: 173.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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.2429/7.153, allocations: 59.82 MB / 3.133 GB, free: 121 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/7.154, allocations: 12 kB / 3.133 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/7.155, allocations: 194.6 kB / 3.133 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/7.157, allocations: 0.6191 MB / 3.134 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/7.157, allocations: 24 kB / 3.134 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/7.157, allocations: 44 kB / 3.134 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002538/7.16, allocations: 0.9991 MB / 3.135 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/7.162, allocations: 0.731 MB / 3.136 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/7.162, allocations: 3.984 kB / 3.136 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/7.162, allocations: 4 kB / 3.136 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/7.162, allocations: 20 kB / 3.136 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006561/7.169, allocations: 2.372 MB / 3.138 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/7.171, allocations: 0.659 MB / 3.139 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/7.171, allocations: 250.8 kB / 3.139 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/7.171, allocations: 32.59 kB / 3.139 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008631/7.172, allocations: 394 kB / 3.139 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 3.737e-06/7.172, allocations: 0 / 3.139 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.002818/7.175, allocations: 0.66 MB / 3.14 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/7.175, allocations: 244 kB / 3.14 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/7.176, allocations: 0.5023 MB / 3.141 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/7.177, allocations: 29.7 kB / 3.141 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/7.177, allocations: 300.1 kB / 3.141 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/7.177, allocations: 240.4 kB / 3.141 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/7.177, allocations: 0 / 3.141 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001258/7.177, allocations: 374.8 kB / 3.141 GB, free: 112 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/7.178, allocations: 197.3 kB / 3.142 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000648/7.178, allocations: 306.4 kB / 3.142 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/7.18, allocations: 251 kB / 3.142 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/7.18, allocations: 0 / 3.142 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004532/7.184, allocations: 0.6756 MB / 3.143 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/7.184, allocations: 4 kB / 3.143 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/7.184, allocations: 4 kB / 3.143 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/7.186, allocations: 80.84 kB / 3.143 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/7.188, allocations: 151.8 kB / 3.143 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004127/7.192, allocations: 1.465 MB / 3.145 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/7.194, allocations: 63.61 kB / 3.145 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/7.194, allocations: 27.98 kB / 3.145 GB, free: 108.6 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 (80): * Single equations (assignments): 79 * 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.0003686/7.195, allocations: 123.6 kB / 3.145 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/7.195, allocations: 79 kB / 3.145 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00596/7.201, allocations: 0.9565 MB / 3.146 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/7.201, allocations: 8 kB / 3.146 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/7.201, allocations: 0 / 3.146 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/7.201, allocations: 7.984 kB / 3.146 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007589/7.209, allocations: 1.713 MB / 3.147 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/7.209, allocations: 4 kB / 3.147 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/7.211, allocations: 151.8 kB / 3.148 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/7.213, allocations: 80.78 kB / 3.148 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000256/7.214, allocations: 15.98 kB / 3.148 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/7.217, allocations: 1.484 MB / 3.149 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/7.217, allocations: 4 kB / 3.149 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005198/7.223, allocations: 0.8284 MB / 3.15 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004568/7.227, allocations: 1.247 MB / 3.151 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008606/7.228, allocations: 283.8 kB / 3.151 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/7.228, allocations: 4 kB / 3.151 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/7.23, allocations: 55.95 kB / 3.151 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/7.23, allocations: 52.69 kB / 3.152 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/7.23, allocations: 31.98 kB / 3.152 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001535/7.232, allocations: 418.8 kB / 3.152 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005186/7.237, allocations: 383.1 kB / 3.152 GB, free: 100.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 (87): * Single equations (assignments): 84 * 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.0035/7.241, allocations: 1.004 MB / 3.153 GB, free: 99.58 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003188/7.244, allocations: 0.6664 MB / 3.154 GB, free: 98.91 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/7.244, allocations: 0 / 3.154 GB, free: 98.91 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/7.246, allocations: 456.6 kB / 3.154 GB, free: 98.45 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/7.249, allocations: 200.1 kB / 3.155 GB, free: 98.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009303/7.258, allocations: 1.347 MB / 3.156 GB, free: 96.87 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001603/7.26, allocations: 1.131 MB / 3.157 GB, free: 95.71 MB / 0.8698 GB Notification: Performance of SimCode: time 1.964e-06/7.26, allocations: 0 / 3.157 GB, free: 95.71 MB / 0.8698 GB