Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.456/2.456, allocations: 248.6 MB / 255.9 MB, free: 7.137 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.001878/0.001878, allocations: 180.1 kB / 315.1 MB, free: 4.234 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.255/2.255, allocations: 205.1 MB / 0.5658 GB, free: 256 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.001384/0.001384, allocations: 97.66 kB / 0.67 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5161/0.5175, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.7336, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.207/6.94, allocations: 2.19 GB / 3.073 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/6.941, allocations: 92.08 kB / 3.074 GB, free: 174.2 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.2785/7.219, allocations: 59.44 MB / 3.132 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/7.219, allocations: 8 kB / 3.132 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/7.221, allocations: 194.6 kB / 3.132 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/7.223, allocations: 0.6153 MB / 3.132 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/7.224, allocations: 28 kB / 3.132 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/7.224, allocations: 44 kB / 3.132 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002606/7.226, allocations: 0.9756 MB / 3.133 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/7.228, allocations: 0.7116 MB / 3.134 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/7.228, allocations: 4 kB / 3.134 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/7.229, allocations: 0 / 3.134 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/7.229, allocations: 20 kB / 3.134 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006709/7.235, allocations: 2.258 MB / 3.136 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/7.237, allocations: 0.7168 MB / 3.137 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005915/7.238, allocations: 246.7 kB / 3.137 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/7.238, allocations: 28.61 kB / 3.137 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008381/7.239, allocations: 382.1 kB / 3.138 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 4.499e-06/7.239, allocations: 0 / 3.138 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002763/7.242, allocations: 0.6365 MB / 3.138 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/7.242, allocations: 244 kB / 3.138 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/7.243, allocations: 0.4944 MB / 3.139 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/7.243, allocations: 29.7 kB / 3.139 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/7.243, allocations: 288.2 kB / 3.139 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/7.243, allocations: 228.6 kB / 3.139 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/7.243, allocations: 0 / 3.139 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001291/7.244, allocations: 382.6 kB / 3.14 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/7.244, allocations: 189.3 kB / 3.14 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/7.245, allocations: 286.4 kB / 3.14 GB, free: 113 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000695/7.245, allocations: 239 kB / 3.141 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/7.245, allocations: 0 / 3.141 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002635/7.248, allocations: 0.6482 MB / 3.141 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/7.248, allocations: 4 kB / 3.141 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/7.248, allocations: 4 kB / 3.141 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/7.249, allocations: 80.84 kB / 3.141 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/7.251, allocations: 139.8 kB / 3.141 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/7.253, allocations: 1.461 MB / 3.143 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/7.255, allocations: 59.55 kB / 3.143 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/7.255, allocations: 27.97 kB / 3.143 GB, free: 110.2 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 (75): * Single equations (assignments): 74 * 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.0002598/7.255, allocations: 128.8 kB / 3.143 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/7.255, allocations: 71.16 kB / 3.143 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/7.259, allocations: 0.94 MB / 3.144 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/7.259, allocations: 11.98 kB / 3.144 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/7.259, allocations: 0 / 3.144 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/7.259, allocations: 3.984 kB / 3.144 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004783/7.264, allocations: 1.686 MB / 3.146 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/7.264, allocations: 7.922 kB / 3.146 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/7.266, allocations: 147.8 kB / 3.146 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009476/7.267, allocations: 84.78 kB / 3.146 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/7.267, allocations: 11.98 kB / 3.146 GB, free: 107 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/7.269, allocations: 1.484 MB / 3.147 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/7.269, allocations: 0 / 3.147 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002792/7.272, allocations: 0.8283 MB / 3.148 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002976/7.275, allocations: 1.231 MB / 3.149 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007479/7.276, allocations: 275.8 kB / 3.15 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/7.276, allocations: 4 kB / 3.15 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/7.277, allocations: 51.95 kB / 3.15 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/7.278, allocations: 60.69 kB / 3.15 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.246e-05/7.278, allocations: 27.98 kB / 3.15 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007487/7.279, allocations: 406.8 kB / 3.15 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004535/7.283, allocations: 383.1 kB / 3.151 GB, free: 102.1 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.004225/7.287, allocations: 1.003 MB / 3.151 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003335/7.291, allocations: 0.6391 MB / 3.152 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/7.291, allocations: 8.062 kB / 3.152 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/7.293, allocations: 452.4 kB / 3.153 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/7.295, allocations: 203.2 kB / 3.153 GB, free: 99.92 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006268/7.302, allocations: 1.334 MB / 3.154 GB, free: 98.56 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/7.303, allocations: 1.127 MB / 3.155 GB, free: 97.41 MB / 0.8698 GB Notification: Performance of SimCode: time 1.302e-06/7.303, allocations: 0 / 3.155 GB, free: 97.41 MB / 0.8698 GB