Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.477/2.477, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.002568/0.002566, allocations: 183.9 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 2.211/2.211, allocations: 205.1 MB / 0.5658 GB, free: 324 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.001515/0.001515, allocations: 79.36 kB / 0.67 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5188/0.5204, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.7421, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.036/6.778, allocations: 2.195 GB / 3.079 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005609/6.779, allocations: 90.64 kB / 3.079 GB, free: 121.9 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.4294/7.208, allocations: 78.46 MB / 3.155 GB, free: 48.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/7.208, allocations: 8 kB / 3.155 GB, free: 48.18 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02237/7.231, allocations: 1.536 MB / 3.157 GB, free: 46.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/7.234, allocations: 0.8168 MB / 3.158 GB, free: 45.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/7.235, allocations: 40 kB / 3.158 GB, free: 45.73 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007039/7.235, allocations: 67.94 kB / 3.158 GB, free: 45.67 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008038/7.243, allocations: 1.925 MB / 3.16 GB, free: 43.74 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006825/7.25, allocations: 1.414 MB / 3.161 GB, free: 42.26 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.414e-05/7.25, allocations: 0 / 3.161 GB, free: 42.26 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003648/7.251, allocations: 0 / 3.161 GB, free: 42.26 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/7.251, allocations: 28 kB / 3.161 GB, free: 42.23 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02006/7.271, allocations: 4.071 MB / 3.165 GB, free: 38.09 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006566/7.278, allocations: 1.73 MB / 3.167 GB, free: 36.35 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/7.28, allocations: 0.6989 MB / 3.167 GB, free: 35.65 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000879/7.281, allocations: 0.6022 MB / 3.168 GB, free: 34.92 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003788/7.285, allocations: 0.9163 MB / 3.169 GB, free: 33.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=120): time 9.448e-06/7.285, allocations: 0 / 3.169 GB, free: 33.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=120): time 0.009025/7.294, allocations: 1.534 MB / 3.17 GB, free: 32.44 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/7.294, allocations: 256.2 kB / 3.17 GB, free: 32.13 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/7.296, allocations: 0.57 MB / 3.171 GB, free: 31.55 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005809/7.297, allocations: 33.64 kB / 3.171 GB, free: 31.51 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/7.297, allocations: 360.5 kB / 3.171 GB, free: 31.15 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008802/7.298, allocations: 382.2 kB / 3.172 GB, free: 30.77 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/7.298, allocations: 0 / 3.172 GB, free: 30.77 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002439/7.299, allocations: 402.6 kB / 3.172 GB, free: 30.37 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002345/7.301, allocations: 0.5922 MB / 3.173 GB, free: 29.78 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/7.304, allocations: 0.7358 MB / 3.173 GB, free: 29 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/7.307, allocations: 0.6432 MB / 3.174 GB, free: 28.36 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/7.307, allocations: 0 / 3.174 GB, free: 28.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.008543/7.315, allocations: 1.561 MB / 3.176 GB, free: 26.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/7.316, allocations: 4 kB / 3.176 GB, free: 26.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/7.316, allocations: 4 kB / 3.176 GB, free: 26.78 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/7.317, allocations: 80.84 kB / 3.176 GB, free: 26.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006804/7.324, allocations: 491.3 kB / 3.176 GB, free: 26.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003918/7.328, allocations: 1.468 MB / 3.178 GB, free: 24.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/7.334, allocations: 323.1 kB / 3.178 GB, free: 24.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005934/7.334, allocations: 55.94 kB / 3.178 GB, free: 24.25 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.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 (125): * Single equations (assignments): 124 * 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.0006607/7.335, allocations: 128.6 kB / 3.178 GB, free: 24.12 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005972/7.336, allocations: 94.88 kB / 3.178 GB, free: 24.03 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/7.348, allocations: 2.04 MB / 3.18 GB, free: 21.97 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/7.348, allocations: 16 kB / 3.18 GB, free: 21.96 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/7.348, allocations: 3.984 kB / 3.18 GB, free: 21.95 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.331e-05/7.348, allocations: 11.92 kB / 3.18 GB, free: 21.94 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/7.364, allocations: 3.429 MB / 3.184 GB, free: 18.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/7.364, allocations: 0 / 3.184 GB, free: 18.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00637/7.37, allocations: 499.4 kB / 3.184 GB, free: 17.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/7.371, allocations: 92.7 kB / 3.184 GB, free: 17.88 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004277/7.372, allocations: 27.95 kB / 3.184 GB, free: 17.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/7.375, allocations: 1.496 MB / 3.186 GB, free: 16.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/7.375, allocations: 8.062 kB / 3.186 GB, free: 16.23 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006129/7.381, allocations: 1.74 MB / 3.187 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006301/7.387, allocations: 2.15 MB / 3.189 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/7.389, allocations: 415.3 kB / 3.19 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005025/7.389, allocations: 4 kB / 3.19 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004556/7.394, allocations: 299.7 kB / 3.19 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000318/7.394, allocations: 73.11 kB / 3.19 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002978/7.394, allocations: 59.94 kB / 3.19 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009482/7.395, allocations: 479.1 kB / 3.191 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003546/7.399, allocations: 0.534 MB / 3.191 GB, free: 10.44 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 (134): * Single equations (assignments): 131 * 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.002605/7.402, allocations: 1.047 MB / 3.192 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005192/7.407, allocations: 1.576 MB / 3.194 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/7.407, allocations: 0 / 3.194 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002737/7.41, allocations: 0.9283 MB / 3.195 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/7.412, allocations: 224 kB / 3.195 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/7.426, allocations: 2.125 MB / 3.197 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003995/7.43, allocations: 1.356 MB / 3.198 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of SimCode: time 2.054e-06/7.43, allocations: 0 / 3.198 GB, free: 3.211 MB / 0.8698 GB