Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",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.558/2.558, allocations: 248.6 MB / 255.9 MB, free: 7.227 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.001705/0.001704, allocations: 183.5 kB / 315.1 MB, free: 4.242 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.925/1.925, allocations: 205.1 MB / 0.5658 GB, free: 352 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.001313/0.001312, allocations: 87.27 kB / 0.67 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.46/0.4614, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.6543, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.337/6.991, allocations: 2.5 GB / 3.383 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/6.991, allocations: 101.7 kB / 3.384 GB, free: 195.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: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 8.173/15.16, allocations: 1.625 GB / 5.008 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/15.16, allocations: 10.12 kB / 5.008 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009706/15.17, allocations: 0.7832 MB / 5.009 GB, free: 99.97 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/15.19, allocations: 2.842 MB / 5.012 GB, free: 99.55 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/15.19, allocations: 58.47 kB / 5.012 GB, free: 99.55 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009717/15.19, allocations: 117.2 kB / 5.012 GB, free: 99.55 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01055/15.2, allocations: 1.791 MB / 5.014 GB, free: 99.54 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/15.21, allocations: 1.981 MB / 5.016 GB, free: 99.34 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/15.21, allocations: 0 / 5.016 GB, free: 99.34 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006278/15.21, allocations: 9.5 kB / 5.016 GB, free: 99.34 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/15.21, allocations: 77.59 kB / 5.016 GB, free: 99.34 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03129/15.24, allocations: 9.825 MB / 5.025 GB, free: 95.11 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003446/15.25, allocations: 1.149 MB / 5.026 GB, free: 95.07 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/15.25, allocations: 0.6196 MB / 5.027 GB, free: 95.04 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006672/15.25, allocations: 2.469 MB / 5.029 GB, free: 93.88 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/15.25, allocations: 47.69 kB / 5.029 GB, free: 93.84 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=104): time 4.638e-06/15.25, allocations: 3.75 kB / 5.029 GB, free: 93.84 MB / 0.9323 GB Notification: Performance of matching and sorting (n=106): time 0.01632/15.27, allocations: 3.187 MB / 5.033 GB, free: 93.12 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/15.27, allocations: 68.98 kB / 5.033 GB, free: 93.05 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004032/15.27, allocations: 1.441 MB / 5.034 GB, free: 92.85 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0004063/15.27, allocations: 31.36 kB / 5.034 GB, free: 92.82 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008742/15.28, allocations: 0.8134 MB / 5.035 GB, free: 92.41 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007665/15.28, allocations: 363 kB / 5.035 GB, free: 92.18 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/15.28, allocations: 0 / 5.035 GB, free: 92.18 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001321/15.28, allocations: 358.5 kB / 5.035 GB, free: 91.88 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/15.28, allocations: 470.7 kB / 5.036 GB, free: 91.87 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/15.28, allocations: 1.033 MB / 5.037 GB, free: 91.18 MB / 0.9323 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0475/15.33, allocations: 3.338 MB / 5.04 GB, free: 91.05 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/15.33, allocations: 3.406 kB / 5.04 GB, free: 91.05 MB / 0.9323 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.008392/15.34, allocations: 1.834 MB / 5.042 GB, free: 90.89 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001338/15.34, allocations: 5.868 MB / 5.048 GB, free: 84.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.009e-05/15.34, allocations: 17.09 kB / 5.048 GB, free: 84.81 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/15.34, allocations: 368.8 kB / 5.048 GB, free: 84.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/15.34, allocations: 294.1 kB / 5.048 GB, free: 84.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/15.34, allocations: 1.043 MB / 5.049 GB, free: 84.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004327/15.35, allocations: 130.2 kB / 5.05 GB, free: 84.25 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007966/15.35, allocations: 84.3 kB / 5.05 GB, free: 84.25 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/15.35, allocations: 5.531 kB / 5.05 GB, free: 84.25 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00741/15.36, allocations: 1.571 MB / 5.051 GB, free: 84.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.665e-05/15.36, allocations: 18.03 kB / 5.051 GB, free: 84.22 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/15.36, allocations: 371.2 kB / 5.052 GB, free: 84.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/15.36, allocations: 300.9 kB / 5.052 GB, free: 84.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/15.37, allocations: 1.044 MB / 5.053 GB, free: 83.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003922/15.37, allocations: 102.2 kB / 5.053 GB, free: 83.66 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004142/15.37, allocations: 84.73 kB / 5.053 GB, free: 83.66 MB / 0.9323 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * 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 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0006002/15.37, allocations: 151.7 kB / 5.053 GB, free: 83.54 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007162/15.37, allocations: 216.7 kB / 5.053 GB, free: 83.43 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006707/15.38, allocations: 1.495 MB / 5.055 GB, free: 83.34 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-05/15.38, allocations: 8.875 kB / 5.055 GB, free: 83.34 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/15.38, allocations: 0 / 5.055 GB, free: 83.34 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004894/15.38, allocations: 1.146 MB / 5.056 GB, free: 83.24 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/15.39, allocations: 3.53 MB / 5.059 GB, free: 82.63 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/15.39, allocations: 9.188 kB / 5.059 GB, free: 82.63 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/15.4, allocations: 184.7 kB / 5.06 GB, free: 82.63 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002791/15.4, allocations: 329.3 kB / 5.06 GB, free: 82.62 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000268/15.4, allocations: 19.12 kB / 5.06 GB, free: 82.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/15.4, allocations: 0.9776 MB / 5.061 GB, free: 82.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/15.4, allocations: 10.78 kB / 5.061 GB, free: 82.09 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005917/15.41, allocations: 2.643 MB / 5.063 GB, free: 80.92 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008445/15.41, allocations: 3.871 MB / 5.067 GB, free: 79.37 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/15.42, allocations: 424.6 kB / 5.068 GB, free: 79.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008495/15.42, allocations: 14.34 kB / 5.068 GB, free: 79.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/15.42, allocations: 76.98 kB / 5.068 GB, free: 79.16 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003458/15.42, allocations: 70.34 kB / 5.068 GB, free: 79.15 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/15.42, allocations: 51.09 kB / 5.068 GB, free: 79.15 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.003153/15.43, allocations: 1.082 MB / 5.069 GB, free: 79.01 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01198/15.44, allocations: 2.195 MB / 5.071 GB, free: 78.95 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.007534/15.44, allocations: 3.913 MB / 5.075 GB, free: 77.46 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006345/15.45, allocations: 2.019 MB / 5.077 GB, free: 77.41 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/15.45, allocations: 3.719 kB / 5.077 GB, free: 77.41 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/15.45, allocations: 0.5351 MB / 5.077 GB, free: 77.41 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009844/15.46, allocations: 1.066 MB / 5.078 GB, free: 77.39 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/15.48, allocations: 4.007 MB / 5.082 GB, free: 76.38 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003742/15.49, allocations: 1.917 MB / 5.084 GB, free: 75.64 MB / 0.9323 GB Notification: Performance of SimCode: time 1.433e-06/15.49, allocations: 3.219 kB / 5.084 GB, free: 75.64 MB / 0.9323 GB