Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.197/2.197, allocations: 248.6 MB / 255.9 MB, free: 7.191 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.001799/0.001798, allocations: 179.6 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 1.965/1.965, allocations: 205.1 MB / 0.5658 GB, free: 384 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.001295/0.001295, allocations: 90.64 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5355/0.5369, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.785, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.418/7.203, allocations: 2.19 GB / 3.074 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/7.203, allocations: 82.64 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.3006/7.504, allocations: 59.51 MB / 3.132 GB, free: 126 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/7.504, allocations: 11.98 kB / 3.132 GB, free: 126 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/7.506, allocations: 222.5 kB / 3.132 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/7.508, allocations: 0.6036 MB / 3.133 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/7.508, allocations: 24 kB / 3.133 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/7.508, allocations: 36 kB / 3.133 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002281/7.511, allocations: 0.9679 MB / 3.134 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/7.512, allocations: 0.6773 MB / 3.134 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/7.512, allocations: 7.875 kB / 3.134 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/7.512, allocations: 7.938 kB / 3.134 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/7.512, allocations: 16 kB / 3.134 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006868/7.519, allocations: 2.259 MB / 3.136 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/7.521, allocations: 0.6532 MB / 3.137 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/7.522, allocations: 254.8 kB / 3.137 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/7.522, allocations: 28.61 kB / 3.137 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008983/7.523, allocations: 402 kB / 3.138 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 4.588e-06/7.523, allocations: 4 kB / 3.138 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.004787/7.528, allocations: 0.6727 MB / 3.138 GB, free: 119 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/7.528, allocations: 244 kB / 3.139 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/7.53, allocations: 0.518 MB / 3.139 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003851/7.53, allocations: 25.7 kB / 3.139 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000509/7.531, allocations: 264.4 kB / 3.139 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006485/7.531, allocations: 232.5 kB / 3.14 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/7.532, allocations: 0 / 3.14 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002754/7.532, allocations: 378.8 kB / 3.14 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/7.533, allocations: 201.3 kB / 3.14 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/7.534, allocations: 311.2 kB / 3.141 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/7.536, allocations: 271.2 kB / 3.141 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/7.536, allocations: 0 / 3.141 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00351/7.539, allocations: 0.6911 MB / 3.141 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/7.539, allocations: 4 kB / 3.141 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/7.539, allocations: 8.031 kB / 3.141 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/7.541, allocations: 88.72 kB / 3.142 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/7.542, allocations: 151.8 kB / 3.142 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/7.545, allocations: 1.461 MB / 3.143 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/7.546, allocations: 79.59 kB / 3.143 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/7.546, allocations: 35.95 kB / 3.143 GB, free: 113.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0002886/7.547, allocations: 120.8 kB / 3.143 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/7.547, allocations: 71.16 kB / 3.143 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/7.552, allocations: 1.053 MB / 3.144 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/7.552, allocations: 11.91 kB / 3.144 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/7.552, allocations: 0 / 3.144 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/7.552, allocations: 3.984 kB / 3.144 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/7.553, allocations: 0.7631 MB / 3.145 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/7.553, allocations: 0 / 3.145 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/7.555, allocations: 163.8 kB / 3.145 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009461/7.556, allocations: 84.78 kB / 3.145 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/7.556, allocations: 15.98 kB / 3.145 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/7.558, allocations: 1.48 MB / 3.147 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/7.559, allocations: 0 / 3.147 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003799/7.562, allocations: 0.7919 MB / 3.148 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003103/7.565, allocations: 1.214 MB / 3.149 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007225/7.566, allocations: 279.8 kB / 3.149 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/7.566, allocations: 4 kB / 3.149 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/7.568, allocations: 75.91 kB / 3.149 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/7.568, allocations: 56.69 kB / 3.149 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/7.568, allocations: 31.97 kB / 3.149 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007862/7.569, allocations: 423.2 kB / 3.15 GB, free: 107 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003353/7.572, allocations: 387.3 kB / 3.15 GB, free: 106.6 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,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.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.002586/7.575, allocations: 1.035 MB / 3.151 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003734/7.579, allocations: 0.6702 MB / 3.152 GB, free: 105 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/7.579, allocations: 0 / 3.152 GB, free: 105 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/7.582, allocations: 464.8 kB / 3.152 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/7.585, allocations: 219.8 kB / 3.152 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009906/7.595, allocations: 1.336 MB / 3.154 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/7.596, allocations: 1.115 MB / 3.155 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.523e-06/7.596, allocations: 0 / 3.155 GB, free: 101.8 MB / 0.8698 GB