Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.949/3.949, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5463/4.496, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/4.738, allocations: 98.72 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.12/16.86, allocations: 4.928 GB / 5.556 GB, free: 210.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/16.86, allocations: 91.02 kB / 5.556 GB, free: 210.5 MB / 0.823 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.07/18.93, allocations: 0.4897 GB / 6.046 GB, free: 74.51 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/18.93, allocations: 8 kB / 6.046 GB, free: 74.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/18.93, allocations: 342.5 kB / 6.046 GB, free: 74.16 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/18.93, allocations: 0.8995 MB / 6.047 GB, free: 73.24 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/18.93, allocations: 16 kB / 6.047 GB, free: 73.22 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/18.93, allocations: 40 kB / 6.047 GB, free: 73.18 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001584/18.94, allocations: 0.5258 MB / 6.048 GB, free: 72.66 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/18.94, allocations: 0.5232 MB / 6.048 GB, free: 72.13 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/18.94, allocations: 4 kB / 6.048 GB, free: 72.12 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/18.94, allocations: 4 kB / 6.048 GB, free: 72.12 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/18.94, allocations: 25.31 kB / 6.048 GB, free: 72.09 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005302/18.94, allocations: 2.699 MB / 6.051 GB, free: 69.19 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00097/18.94, allocations: 422 kB / 6.051 GB, free: 68.78 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004922/18.94, allocations: 245 kB / 6.051 GB, free: 68.54 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/18.95, allocations: 104.2 kB / 6.052 GB, free: 68.42 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/18.95, allocations: 38.92 kB / 6.052 GB, free: 68.37 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 3.427e-06/18.95, allocations: 0 / 6.052 GB, free: 68.37 MB / 0.823 GB Notification: Performance of matching and sorting (n=63): time 0.01843/18.96, allocations: 2.67 MB / 6.054 GB, free: 65.65 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/18.96, allocations: 60.06 kB / 6.054 GB, free: 65.58 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/18.97, allocations: 466.5 kB / 6.055 GB, free: 65.12 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000238/18.97, allocations: 25.7 kB / 6.055 GB, free: 65.09 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/18.97, allocations: 268.2 kB / 6.055 GB, free: 64.82 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/18.97, allocations: 224.7 kB / 6.055 GB, free: 64.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/18.97, allocations: 0 / 6.055 GB, free: 64.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001811/18.97, allocations: 374.8 kB / 6.056 GB, free: 64.22 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009166/18.97, allocations: 265.2 kB / 6.056 GB, free: 63.96 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009908/18.97, allocations: 384 kB / 6.056 GB, free: 63.55 MB / 0.823 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.01203/18.98, allocations: 1.44 MB / 6.058 GB, free: 62.09 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/18.98, allocations: 0 / 6.058 GB, free: 62.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004518/18.98, allocations: 1.068 MB / 6.059 GB, free: 61.02 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/18.99, allocations: 0.611 MB / 6.059 GB, free: 60.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/18.99, allocations: 4 kB / 6.059 GB, free: 60.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003143/18.99, allocations: 468.5 kB / 6.06 GB, free: 59.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/18.99, allocations: 83.89 kB / 6.06 GB, free: 59.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/19, allocations: 4.566 MB / 6.064 GB, free: 55.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/19, allocations: 51.77 kB / 6.064 GB, free: 55.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/19, allocations: 24 kB / 6.064 GB, free: 55.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/19, allocations: 4 kB / 6.064 GB, free: 55.04 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004305/19.01, allocations: 0.9736 MB / 6.065 GB, free: 54.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/19.01, allocations: 0 / 6.065 GB, free: 54.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003129/19.01, allocations: 469.1 kB / 6.066 GB, free: 53.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/19.01, allocations: 75.91 kB / 6.066 GB, free: 53.54 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/19.02, allocations: 3.971 MB / 6.07 GB, free: 49.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/19.02, allocations: 55.8 kB / 6.07 GB, free: 49.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.743e-05/19.02, allocations: 20 kB / 6.07 GB, free: 49.38 MB / 0.823 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.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.vol1.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real $DER.vol.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.0003751/19.02, allocations: 126.3 kB / 6.07 GB, free: 49.25 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/19.02, allocations: 75.16 kB / 6.07 GB, free: 49.17 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/19.03, allocations: 1.059 MB / 6.071 GB, free: 48.11 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/19.03, allocations: 11.91 kB / 6.071 GB, free: 48.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/19.03, allocations: 3.938 kB / 6.071 GB, free: 48.09 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004258/19.03, allocations: 1.262 MB / 6.072 GB, free: 46.74 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007493/19.04, allocations: 2.245 MB / 6.074 GB, free: 44.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/19.04, allocations: 4 kB / 6.074 GB, free: 44.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/19.04, allocations: 67.91 kB / 6.074 GB, free: 44.39 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00392/19.05, allocations: 483.2 kB / 6.075 GB, free: 43.92 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/19.05, allocations: 23.98 kB / 6.075 GB, free: 43.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/19.06, allocations: 4.367 MB / 6.079 GB, free: 39.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/19.06, allocations: 0 / 6.079 GB, free: 39.4 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005291/19.06, allocations: 1.517 MB / 6.081 GB, free: 37.84 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006431/19.07, allocations: 2.369 MB / 6.083 GB, free: 35.43 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007685/19.07, allocations: 240.2 kB / 6.083 GB, free: 35.17 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/19.07, allocations: 15.98 kB / 6.083 GB, free: 35.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/19.07, allocations: 47.75 kB / 6.083 GB, free: 35.11 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/19.07, allocations: 36.44 kB / 6.083 GB, free: 35.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.209e-05/19.07, allocations: 19.98 kB / 6.083 GB, free: 35.05 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006458/19.07, allocations: 362.9 kB / 6.084 GB, free: 34.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00576/19.08, allocations: 0.8233 MB / 6.084 GB, free: 33.88 MB / 0.823 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.00219/19.08, allocations: 1.369 MB / 6.086 GB, free: 32.62 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005351/19.08, allocations: 1.528 MB / 6.087 GB, free: 31.08 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/19.08, allocations: 0 / 6.087 GB, free: 31.08 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/19.09, allocations: 0.5759 MB / 6.088 GB, free: 30.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/19.09, allocations: 421.6 kB / 6.088 GB, free: 30.09 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/19.09, allocations: 1.537 MB / 6.09 GB, free: 28.52 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009824/19.1, allocations: 1.107 MB / 6.091 GB, free: 27.38 MB / 0.823 GB Notification: Performance of SimCode: time 1.262e-06/19.1, allocations: 0 / 6.091 GB, free: 27.38 MB / 0.823 GB