Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.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.Examples.SideFins,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_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.373/2.373, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.002427/0.002427, allocations: 179 kB / 315.1 MB, free: 4.305 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.002/2.002, allocations: 205.1 MB / 0.5658 GB, free: 400 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.002001/0.002001, allocations: 93.5 kB / 0.67 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5276/0.5296, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.7853, allocations: 106.2 MB / 0.8835 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.99/6.776, allocations: 2.197 GB / 3.08 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/6.776, allocations: 79.02 kB / 3.08 GB, free: 171.7 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.2986/7.075, allocations: 77.23 MB / 3.156 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/7.075, allocations: 12 kB / 3.156 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02046/7.095, allocations: 1.532 MB / 3.157 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/7.098, allocations: 0.8832 MB / 3.158 GB, free: 99.25 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/7.098, allocations: 36 kB / 3.158 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003213/7.098, allocations: 68 kB / 3.158 GB, free: 99.15 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005646/7.104, allocations: 2.085 MB / 3.16 GB, free: 97.06 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004081/7.108, allocations: 1.516 MB / 3.162 GB, free: 95.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/7.108, allocations: 0 / 3.162 GB, free: 95.48 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/7.108, allocations: 4 kB / 3.162 GB, free: 95.48 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/7.108, allocations: 28 kB / 3.162 GB, free: 95.45 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02219/7.131, allocations: 4.485 MB / 3.166 GB, free: 90.88 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00787/7.139, allocations: 1.941 MB / 3.168 GB, free: 88.93 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/7.142, allocations: 0.7691 MB / 3.169 GB, free: 88.16 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009134/7.143, allocations: 0.6022 MB / 3.169 GB, free: 87.43 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00388/7.147, allocations: 1.006 MB / 3.17 GB, free: 86.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=121): time 8.225e-06/7.147, allocations: 3.938 kB / 3.17 GB, free: 86.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121): time 0.009373/7.156, allocations: 1.682 MB / 3.172 GB, free: 84.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/7.156, allocations: 248.3 kB / 3.172 GB, free: 84.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/7.158, allocations: 0.5974 MB / 3.173 GB, free: 83.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005536/7.159, allocations: 25.7 kB / 3.173 GB, free: 83.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/7.159, allocations: 372.5 kB / 3.173 GB, free: 83.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008794/7.16, allocations: 386.2 kB / 3.173 GB, free: 83.02 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/7.161, allocations: 0 / 3.173 GB, free: 83.02 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002978/7.161, allocations: 398.7 kB / 3.174 GB, free: 82.62 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00295/7.164, allocations: 0.682 MB / 3.174 GB, free: 81.94 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/7.167, allocations: 0.8101 MB / 3.175 GB, free: 81.09 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/7.171, allocations: 0.7138 MB / 3.176 GB, free: 80.38 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/7.171, allocations: 3.906 kB / 3.176 GB, free: 80.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.009701/7.181, allocations: 1.706 MB / 3.178 GB, free: 78.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/7.181, allocations: 4 kB / 3.178 GB, free: 78.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/7.181, allocations: 4 kB / 3.178 GB, free: 78.65 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/7.183, allocations: 80.88 kB / 3.178 GB, free: 78.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008128/7.191, allocations: 0.4915 MB / 3.178 GB, free: 78.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/7.195, allocations: 1.472 MB / 3.18 GB, free: 76.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007244/7.203, allocations: 327 kB / 3.18 GB, free: 76.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005422/7.203, allocations: 55.94 kB / 3.18 GB, free: 76.1 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 (126): * Single equations (assignments): 125 * 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.0007025/7.204, allocations: 120.7 kB / 3.18 GB, free: 75.97 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005874/7.205, allocations: 94.88 kB / 3.18 GB, free: 75.88 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/7.22, allocations: 2.181 MB / 3.182 GB, free: 73.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/7.22, allocations: 12 kB / 3.182 GB, free: 73.68 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/7.22, allocations: 8 kB / 3.182 GB, free: 73.67 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.187e-05/7.22, allocations: 11.88 kB / 3.182 GB, free: 73.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/7.236, allocations: 3.824 MB / 3.186 GB, free: 69.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/7.236, allocations: 0 / 3.186 GB, free: 69.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005296/7.241, allocations: 499.3 kB / 3.187 GB, free: 69.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/7.242, allocations: 88.75 kB / 3.187 GB, free: 69.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000458/7.243, allocations: 35.95 kB / 3.187 GB, free: 69.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/7.246, allocations: 1.488 MB / 3.188 GB, free: 67.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/7.246, allocations: 0 / 3.188 GB, free: 67.56 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006694/7.252, allocations: 1.881 MB / 3.19 GB, free: 65.66 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006674/7.259, allocations: 2.295 MB / 3.192 GB, free: 63.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/7.261, allocations: 463.2 kB / 3.193 GB, free: 62.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005935/7.261, allocations: 0 / 3.193 GB, free: 62.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004616/7.266, allocations: 299.7 kB / 3.193 GB, free: 62.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/7.266, allocations: 81.12 kB / 3.193 GB, free: 62.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003001/7.267, allocations: 59.94 kB / 3.193 GB, free: 62.43 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000998/7.268, allocations: 495 kB / 3.194 GB, free: 61.95 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003709/7.271, allocations: 0.5339 MB / 3.194 GB, free: 61.42 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 (135): * Single equations (assignments): 132 * 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.00264/7.274, allocations: 1.046 MB / 3.195 GB, free: 60.47 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005348/7.279, allocations: 1.74 MB / 3.197 GB, free: 58.72 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/7.28, allocations: 0 / 3.197 GB, free: 58.72 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003137/7.283, allocations: 1.01 MB / 3.198 GB, free: 57.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/7.285, allocations: 224.1 kB / 3.198 GB, free: 57.49 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/7.302, allocations: 2.254 MB / 3.2 GB, free: 55.19 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006544/7.309, allocations: 1.376 MB / 3.202 GB, free: 53.79 MB / 0.8698 GB Notification: Performance of SimCode: time 1.794e-06/7.309, allocations: 4 kB / 3.202 GB, free: 53.79 MB / 0.8698 GB