Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.355/2.355, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.003138/0.003138, allocations: 175.8 kB / 315.1 MB, free: 4.289 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.967/1.967, allocations: 205.1 MB / 0.5658 GB, free: 448 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.001356/0.001356, allocations: 86.64 kB / 0.67 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5416/0.543, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.7775, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.173/6.951, allocations: 2.19 GB / 3.074 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005077/6.951, allocations: 96.62 kB / 3.074 GB, free: 177.8 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.2823/7.234, allocations: 63.98 MB / 3.136 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/7.234, allocations: 8 kB / 3.136 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/7.237, allocations: 218.5 kB / 3.137 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/7.24, allocations: 0.6115 MB / 3.137 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.632e-05/7.24, allocations: 28 kB / 3.137 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002878/7.241, allocations: 44 kB / 3.137 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0045/7.245, allocations: 0.9835 MB / 3.138 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/7.247, allocations: 0.7194 MB / 3.139 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/7.247, allocations: 3.906 kB / 3.139 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/7.247, allocations: 4 kB / 3.139 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/7.247, allocations: 16 kB / 3.139 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00619/7.254, allocations: 2.297 MB / 3.141 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/7.257, allocations: 0.7195 MB / 3.142 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/7.258, allocations: 250.8 kB / 3.142 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/7.258, allocations: 36.67 kB / 3.142 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/7.259, allocations: 390.1 kB / 3.142 GB, free: 115 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 7.554e-06/7.259, allocations: 3.938 kB / 3.142 GB, free: 115 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002987/7.262, allocations: 0.6521 MB / 3.143 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/7.262, allocations: 248 kB / 3.143 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/7.263, allocations: 0.4944 MB / 3.144 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002267/7.264, allocations: 29.7 kB / 3.144 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/7.264, allocations: 288.2 kB / 3.144 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000276/7.264, allocations: 232.5 kB / 3.144 GB, free: 113 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/7.264, allocations: 0 / 3.144 GB, free: 113 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001396/7.264, allocations: 370.8 kB / 3.145 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/7.265, allocations: 197.3 kB / 3.145 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/7.266, allocations: 302.4 kB / 3.145 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007229/7.266, allocations: 247 kB / 3.145 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/7.267, allocations: 4 kB / 3.145 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002751/7.269, allocations: 0.6561 MB / 3.146 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/7.269, allocations: 4 kB / 3.146 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/7.269, allocations: 8 kB / 3.146 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/7.27, allocations: 92.75 kB / 3.146 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/7.272, allocations: 139.8 kB / 3.146 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/7.275, allocations: 1.461 MB / 3.148 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/7.276, allocations: 67.59 kB / 3.148 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/7.276, allocations: 23.98 kB / 3.148 GB, free: 109.3 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.0002849/7.277, allocations: 120.9 kB / 3.148 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/7.277, allocations: 71.16 kB / 3.148 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/7.281, allocations: 0.9519 MB / 3.149 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/7.281, allocations: 8 kB / 3.149 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/7.281, allocations: 8 kB / 3.149 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/7.281, allocations: 3.984 kB / 3.149 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/7.283, allocations: 0.7636 MB / 3.15 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/7.283, allocations: 4 kB / 3.15 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/7.284, allocations: 147.8 kB / 3.15 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009937/7.285, allocations: 80.78 kB / 3.15 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/7.285, allocations: 23.97 kB / 3.15 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/7.288, allocations: 1.48 MB / 3.151 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/7.288, allocations: 4 kB / 3.151 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002825/7.291, allocations: 0.7568 MB / 3.152 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002938/7.294, allocations: 1.171 MB / 3.153 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007226/7.295, allocations: 279.8 kB / 3.154 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/7.295, allocations: 11.98 kB / 3.154 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/7.296, allocations: 55.95 kB / 3.154 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/7.296, allocations: 52.69 kB / 3.154 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.73e-05/7.296, allocations: 32.05 kB / 3.154 GB, free: 103 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007443/7.297, allocations: 410.8 kB / 3.154 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002502/7.3, allocations: 375 kB / 3.154 GB, free: 102.3 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 (85): * Single equations (assignments): 82 * 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/7.302, allocations: 1.015 MB / 3.155 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002115/7.304, allocations: 0.6587 MB / 3.156 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/7.304, allocations: 0 / 3.156 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/7.305, allocations: 456.5 kB / 3.156 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/7.307, allocations: 212.5 kB / 3.157 GB, free: 100 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/7.314, allocations: 1.337 MB / 3.158 GB, free: 98.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/7.315, allocations: 1.119 MB / 3.159 GB, free: 97.52 MB / 0.8698 GB Notification: Performance of SimCode: time 1.273e-06/7.315, allocations: 4 kB / 3.159 GB, free: 97.52 MB / 0.8698 GB