Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",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.115/2.115, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.00163/0.00163, allocations: 192.2 kB / 315.1 MB, free: 4.258 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.837/1.837, 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.001328/0.001328, allocations: 96.56 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.502/0.5034, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.7105, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.2/6.91, allocations: 2.442 GB / 3.325 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/6.911, allocations: 86.17 kB / 3.325 GB, free: 245.4 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 3.337/10.25, allocations: 0.7651 GB / 4.09 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/10.25, allocations: 9.156 kB / 4.09 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004701/10.25, allocations: 485.1 kB / 4.091 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004107/10.26, allocations: 1.031 MB / 4.092 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001356/10.26, allocations: 183.5 kB / 4.092 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003823/10.26, allocations: 44.81 kB / 4.092 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002772/10.26, allocations: 0.7636 MB / 4.093 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/10.26, allocations: 0.8372 MB / 4.093 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/10.26, allocations: 0 / 4.093 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/10.26, allocations: 4 kB / 4.093 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.827e-05/10.26, allocations: 30 kB / 4.093 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/10.28, allocations: 4.124 MB / 4.097 GB, free: 139 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/10.28, allocations: 0.5311 MB / 4.098 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008447/10.28, allocations: 330.3 kB / 4.098 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/10.28, allocations: 0.6445 MB / 4.099 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/10.28, allocations: 435.8 kB / 4.099 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 3.286e-06/10.28, allocations: 0 / 4.099 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.003014/10.28, allocations: 0.7452 MB / 4.1 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/10.28, allocations: 81.61 kB / 4.1 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/10.28, allocations: 0.5708 MB / 4.101 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002219/10.28, allocations: 25.7 kB / 4.101 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/10.29, allocations: 316 kB / 4.101 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/10.29, allocations: 185.2 kB / 4.101 GB, free: 135 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-05/10.29, allocations: 0 / 4.101 GB, free: 135 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.661e-05/10.29, allocations: 326 kB / 4.102 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007666/10.29, allocations: 273.2 kB / 4.102 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008772/10.29, allocations: 422.8 kB / 4.102 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/10.29, allocations: 333.2 kB / 4.103 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/10.29, allocations: 4 kB / 4.103 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002721/10.29, allocations: 0.7726 MB / 4.103 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/10.29, allocations: 0.8789 MB / 4.104 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/10.29, allocations: 0 / 4.104 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/10.29, allocations: 8 kB / 4.104 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/10.29, allocations: 263.7 kB / 4.104 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009061/10.3, allocations: 1.211 MB / 4.106 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/10.3, allocations: 187.6 kB / 4.106 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/10.3, allocations: 31.98 kB / 4.106 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/10.3, allocations: 4 kB / 4.106 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002358/10.3, allocations: 0.6547 MB / 4.106 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/10.3, allocations: 7.984 kB / 4.106 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/10.3, allocations: 7.906 kB / 4.106 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/10.3, allocations: 243.9 kB / 4.107 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/10.3, allocations: 4 kB / 4.107 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/10.31, allocations: 167.5 kB / 4.107 GB, free: 129 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/10.31, allocations: 35.97 kB / 4.107 GB, free: 129 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003277/10.31, allocations: 120.8 kB / 4.107 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/10.31, allocations: 86.97 kB / 4.107 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/10.31, allocations: 0.8714 MB / 4.108 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/10.31, allocations: 4 kB / 4.108 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/10.31, allocations: 0 / 4.108 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/10.31, allocations: 3.984 kB / 4.108 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005733/10.32, allocations: 1.937 MB / 4.11 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/10.32, allocations: 4 kB / 4.11 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002624/10.32, allocations: 248 kB / 4.11 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.748e-05/10.32, allocations: 7.906 kB / 4.11 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002625/10.32, allocations: 15.98 kB / 4.11 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007315/10.32, allocations: 1.199 MB / 4.111 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/10.32, allocations: 4 kB / 4.111 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002922/10.32, allocations: 1.065 MB / 4.112 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003328/10.33, allocations: 1.555 MB / 4.114 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009634/10.33, allocations: 275.7 kB / 4.114 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/10.33, allocations: 7.984 kB / 4.114 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/10.33, allocations: 171.7 kB / 4.114 GB, free: 121 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/10.33, allocations: 56.3 kB / 4.114 GB, free: 121 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/10.33, allocations: 31.97 kB / 4.114 GB, free: 121 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008514/10.33, allocations: 443.1 kB / 4.115 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006019/10.34, allocations: 1.03 MB / 4.116 GB, free: 119.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005319/10.34, allocations: 1.866 MB / 4.118 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00636/10.35, allocations: 1.139 MB / 4.119 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/10.35, allocations: 7.938 kB / 4.119 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002164/10.35, allocations: 413.4 kB / 4.119 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/10.35, allocations: 336.8 kB / 4.119 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004966/10.36, allocations: 1.338 MB / 4.121 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/10.36, allocations: 1.16 MB / 4.122 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.573e-06/10.36, allocations: 0 / 4.122 GB, free: 113.3 MB / 0.8698 GB