Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.412/1.412, allocations: 285.5 MB / 292.8 MB, free: 9.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009711/0.000971, allocations: 191.5 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.132/1.132, allocations: 205.2 MB / 0.6195 GB, free: 2.895 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008619/0.0008619, allocations: 91.28 kB / 0.7326 GB, free: 1.035 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4067/0.4076, allocations: 121.4 MB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.591, allocations: 115.3 MB / 0.9638 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.855/8.446, allocations: 4.881 GB / 5.845 GB, free: 105 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/8.447, allocations: 91.94 kB / 5.845 GB, free: 104.9 MB / 0.948 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 1.691/10.14, allocations: 0.4897 GB / 6.335 GB, free: 221.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/10.14, allocations: 7.875 kB / 6.335 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/10.14, allocations: 350.7 kB / 6.335 GB, free: 221.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/10.14, allocations: 0.8915 MB / 6.336 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/10.14, allocations: 17.25 kB / 6.336 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/10.14, allocations: 37.72 kB / 6.336 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009179/10.14, allocations: 0.5302 MB / 6.336 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008402/10.14, allocations: 0.5266 MB / 6.337 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/10.14, allocations: 0 / 6.337 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/10.14, allocations: 7.469 kB / 6.337 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/10.14, allocations: 19.16 kB / 6.337 GB, free: 220.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/10.15, allocations: 2.706 MB / 6.34 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/10.15, allocations: 419.2 kB / 6.34 GB, free: 219.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/10.15, allocations: 236.1 kB / 6.34 GB, free: 219.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/10.15, allocations: 92.03 kB / 6.34 GB, free: 219.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/10.15, allocations: 40.94 kB / 6.34 GB, free: 219.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=45): time 2.054e-06/10.15, allocations: 0 / 6.34 GB, free: 219.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.00799/10.16, allocations: 2.67 MB / 6.343 GB, free: 219 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/10.16, allocations: 63.5 kB / 6.343 GB, free: 218.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/10.16, allocations: 469.4 kB / 6.344 GB, free: 218.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.174e-05/10.16, allocations: 25.7 kB / 6.344 GB, free: 218.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/10.16, allocations: 276.8 kB / 6.344 GB, free: 218.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/10.16, allocations: 211 kB / 6.344 GB, free: 218.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/10.16, allocations: 0 / 6.344 GB, free: 218.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000108/10.16, allocations: 378.3 kB / 6.344 GB, free: 218.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/10.16, allocations: 272.3 kB / 6.345 GB, free: 218.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/10.16, allocations: 378.8 kB / 6.345 GB, free: 218.1 MB / 0.948 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.005489/10.16, allocations: 1.436 MB / 6.346 GB, free: 218 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/10.16, allocations: 1.406 kB / 6.346 GB, free: 218 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002515/10.17, allocations: 1.058 MB / 6.347 GB, free: 217.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/10.17, allocations: 0.6144 MB / 6.348 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/10.17, allocations: 3.812 kB / 6.348 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/10.17, allocations: 463.9 kB / 6.348 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/10.17, allocations: 85.19 kB / 6.349 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006045/10.18, allocations: 4.567 MB / 6.353 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008789/10.18, allocations: 51.19 kB / 6.353 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/10.18, allocations: 21.19 kB / 6.353 GB, free: 215.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/10.18, allocations: 3.312 kB / 6.353 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002227/10.18, allocations: 0.9668 MB / 6.354 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/10.18, allocations: 0 / 6.354 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/10.18, allocations: 476.5 kB / 6.354 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/10.18, allocations: 75.77 kB / 6.355 GB, free: 215.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/10.19, allocations: 3.971 MB / 6.358 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008904/10.19, allocations: 53.86 kB / 6.358 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/10.19, allocations: 28.56 kB / 6.359 GB, free: 213.9 MB / 0.948 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.0002561/10.19, allocations: 123.6 kB / 6.359 GB, free: 213.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/10.19, allocations: 69.44 kB / 6.359 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/10.19, allocations: 1.055 MB / 6.36 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/10.19, allocations: 10.44 kB / 6.36 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/10.19, allocations: 0 / 6.36 GB, free: 213.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002205/10.19, allocations: 1.258 MB / 6.361 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/10.2, allocations: 2.25 MB / 6.363 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/10.2, allocations: 3.844 kB / 6.363 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/10.2, allocations: 76.62 kB / 6.363 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/10.2, allocations: 472.6 kB / 6.364 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.527e-05/10.2, allocations: 13.89 kB / 6.364 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005641/10.2, allocations: 4.371 MB / 6.368 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/10.2, allocations: 6.469 kB / 6.368 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002875/10.21, allocations: 1.507 MB / 6.369 GB, free: 210.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003977/10.21, allocations: 2.372 MB / 6.372 GB, free: 210 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/10.21, allocations: 242.5 kB / 6.372 GB, free: 209.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/10.21, allocations: 19.34 kB / 6.372 GB, free: 209.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009864/10.21, allocations: 35.67 kB / 6.372 GB, free: 209.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/10.21, allocations: 38.39 kB / 6.372 GB, free: 209.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.916e-05/10.21, allocations: 28.66 kB / 6.372 GB, free: 209.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005699/10.21, allocations: 360.1 kB / 6.372 GB, free: 209.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004927/10.22, allocations: 0.815 MB / 6.373 GB, free: 209.7 MB / 0.948 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.002025/10.22, allocations: 1.372 MB / 6.375 GB, free: 209.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003288/10.22, allocations: 1.509 MB / 6.376 GB, free: 209.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/10.22, allocations: 3.906 kB / 6.376 GB, free: 209.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/10.23, allocations: 0.5739 MB / 6.377 GB, free: 209.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/10.23, allocations: 425.7 kB / 6.377 GB, free: 209.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/10.23, allocations: 1.528 MB / 6.379 GB, free: 208.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007571/10.23, allocations: 1.114 MB / 6.38 GB, free: 208 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/10.23, allocations: 0 / 6.38 GB, free: 208 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)