Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.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.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",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.237/2.237, allocations: 248.6 MB / 255.9 MB, free: 7.086 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.001704/0.001704, allocations: 184.3 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.978/1.978, allocations: 205.1 MB / 0.5658 GB, free: 372 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.001448/0.001447, allocations: 91.28 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4703/0.4718, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.6955, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.54/13.23, allocations: 4.874 GB / 5.758 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/13.23, allocations: 83.14 kB / 5.758 GB, free: 180 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 2.287/15.52, allocations: 0.4897 GB / 6.248 GB, free: 24.93 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/15.52, allocations: 8 kB / 6.248 GB, free: 24.92 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003875/15.52, allocations: 342.5 kB / 6.248 GB, free: 24.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/15.53, allocations: 0.8897 MB / 6.249 GB, free: 23.65 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/15.53, allocations: 23.91 kB / 6.249 GB, free: 23.63 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/15.53, allocations: 36 kB / 6.249 GB, free: 23.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001988/15.53, allocations: 0.5258 MB / 6.249 GB, free: 23.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/15.53, allocations: 0.5272 MB / 6.25 GB, free: 22.54 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/15.53, allocations: 0 / 6.25 GB, free: 22.54 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/15.53, allocations: 0 / 6.25 GB, free: 22.54 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.827e-05/15.53, allocations: 25.25 kB / 6.25 GB, free: 22.51 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009557/15.54, allocations: 2.694 MB / 6.253 GB, free: 19.59 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/15.54, allocations: 416.1 kB / 6.253 GB, free: 19.17 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007768/15.54, allocations: 233.9 kB / 6.253 GB, free: 18.94 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00025/15.54, allocations: 101.4 kB / 6.253 GB, free: 18.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/15.54, allocations: 38.94 kB / 6.253 GB, free: 18.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 5.009e-06/15.54, allocations: 3.938 kB / 6.253 GB, free: 18.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.01474/15.56, allocations: 2.683 MB / 6.256 GB, free: 16.03 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/15.56, allocations: 56.06 kB / 6.256 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009202/15.56, allocations: 470.4 kB / 6.257 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/15.56, allocations: 25.7 kB / 6.257 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/15.56, allocations: 268.2 kB / 6.257 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/15.56, allocations: 228.6 kB / 6.257 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/15.56, allocations: 0 / 6.257 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001269/15.56, allocations: 374.8 kB / 6.257 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007113/15.56, allocations: 269.2 kB / 6.258 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/15.56, allocations: 376.1 kB / 6.258 GB, free: 13.93 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (0.9999999999999999 * vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/15.57, allocations: 1.43 MB / 6.259 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/15.57, allocations: 4 kB / 6.259 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.005051/15.58, allocations: 1.062 MB / 6.26 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002231/15.58, allocations: 0.615 MB / 6.261 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/15.58, allocations: 0 / 6.261 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005031/15.58, allocations: 469.5 kB / 6.261 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/15.59, allocations: 87.81 kB / 6.262 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/15.6, allocations: 4.571 MB / 6.266 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/15.6, allocations: 55.8 kB / 6.266 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9e-05/15.6, allocations: 20 kB / 6.266 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/15.6, allocations: 4 kB / 6.266 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004386/15.61, allocations: 0.9671 MB / 6.267 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/15.61, allocations: 0 / 6.267 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00324/15.61, allocations: 461 kB / 6.267 GB, free: 3.977 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/15.61, allocations: 75.91 kB / 6.268 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3782/15.99, allocations: 3.976 MB / 6.271 GB, free: 287.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/15.99, allocations: 44.58 kB / 6.271 GB, free: 287.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/15.99, allocations: 20 kB / 6.272 GB, free: 287.4 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real $DER.vol1.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 23} Notification: Performance of prepare postOptimizeDAE: time 0.0005087/15.99, allocations: 132.7 kB / 6.272 GB, free: 287.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/15.99, allocations: 69.06 kB / 6.272 GB, free: 287.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005057/16, allocations: 1.059 MB / 6.273 GB, free: 287.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/16, allocations: 7.656 kB / 6.273 GB, free: 287.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/16, allocations: 0 / 6.273 GB, free: 287.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004647/16, allocations: 1.256 MB / 6.274 GB, free: 286.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00756/16.01, allocations: 2.253 MB / 6.276 GB, free: 286.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/16.01, allocations: 0 / 6.276 GB, free: 286.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/16.01, allocations: 73.08 kB / 6.276 GB, free: 286.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003842/16.02, allocations: 482.4 kB / 6.277 GB, free: 286.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/16.02, allocations: 16.91 kB / 6.277 GB, free: 286.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/16.03, allocations: 4.363 MB / 6.281 GB, free: 284.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/16.03, allocations: 4.719 kB / 6.281 GB, free: 284.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005255/16.03, allocations: 1.52 MB / 6.282 GB, free: 284.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006481/16.04, allocations: 2.363 MB / 6.285 GB, free: 283.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007724/16.04, allocations: 243.1 kB / 6.285 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/16.04, allocations: 6.812 kB / 6.285 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/16.04, allocations: 48.27 kB / 6.285 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/16.04, allocations: 31.25 kB / 6.285 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-05/16.04, allocations: 22.41 kB / 6.285 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006536/16.04, allocations: 368.1 kB / 6.285 GB, free: 283.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006908/16.05, allocations: 0.8148 MB / 6.286 GB, free: 283.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002933/16.05, allocations: 1.372 MB / 6.288 GB, free: 283.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005442/16.06, allocations: 1.519 MB / 6.289 GB, free: 283 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/16.06, allocations: 0 / 6.289 GB, free: 283 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/16.06, allocations: 0.5719 MB / 6.29 GB, free: 282.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/16.06, allocations: 422.5 kB / 6.29 GB, free: 282.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/16.07, allocations: 1.52 MB / 6.292 GB, free: 282.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/16.07, allocations: 1.113 MB / 6.293 GB, free: 281.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.493e-06/16.07, allocations: 2.562 kB / 6.293 GB, free: 281.9 MB / 0.8698 GB