Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.487/2.487, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.002294/0.002294, allocations: 185.2 kB / 360.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.1 MB / 0.6187 GB, free: 13.26 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 93.27 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3058/0.3071, allocations: 121.4 MB / 0.8502 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7501/1.057, allocations: 115.2 MB / 0.9628 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.34/13.4, allocations: 4.881 GB / 5.844 GB, free: 130.5 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/13.4, allocations: 92.75 kB / 5.844 GB, free: 130.4 MB / 1.104 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.394/15.79, allocations: 0.4897 GB / 6.334 GB, free: 49.04 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/15.79, allocations: 16 kB / 6.334 GB, free: 49.02 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/15.8, allocations: 334.5 kB / 6.334 GB, free: 48.69 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/15.8, allocations: 0.8858 MB / 6.335 GB, free: 47.77 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/15.8, allocations: 20 kB / 6.335 GB, free: 47.75 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/15.8, allocations: 43.91 kB / 6.335 GB, free: 47.7 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001631/15.8, allocations: 0.5297 MB / 6.335 GB, free: 47.17 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/15.8, allocations: 0.5233 MB / 6.336 GB, free: 46.64 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/15.8, allocations: 0 / 6.336 GB, free: 46.64 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.614e-05/15.8, allocations: 4 kB / 6.336 GB, free: 46.64 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/15.8, allocations: 21.31 kB / 6.336 GB, free: 46.62 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005619/15.81, allocations: 2.698 MB / 6.338 GB, free: 43.68 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009778/15.81, allocations: 416.1 kB / 6.339 GB, free: 43.27 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/15.81, allocations: 233.9 kB / 6.339 GB, free: 43.03 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/15.81, allocations: 97.47 kB / 6.339 GB, free: 42.92 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/15.81, allocations: 38.94 kB / 6.339 GB, free: 42.87 MB / 1.104 GB Notification: Performance of pre-optimization done (n=45): time 3.266e-06/15.81, allocations: 0 / 6.339 GB, free: 42.87 MB / 1.104 GB Notification: Performance of matching and sorting (n=63): time 0.01496/15.83, allocations: 2.684 MB / 6.342 GB, free: 40.12 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/15.83, allocations: 56.06 kB / 6.342 GB, free: 40.06 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009615/15.83, allocations: 470.4 kB / 6.342 GB, free: 39.6 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/15.83, allocations: 29.7 kB / 6.342 GB, free: 39.56 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/15.83, allocations: 272.2 kB / 6.343 GB, free: 39.29 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/15.83, allocations: 216.7 kB / 6.343 GB, free: 39.07 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/15.83, allocations: 0 / 6.343 GB, free: 39.07 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001316/15.83, allocations: 374.8 kB / 6.343 GB, free: 38.7 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006832/15.83, allocations: 273.2 kB / 6.343 GB, free: 38.43 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007465/15.83, allocations: 387.9 kB / 6.344 GB, free: 38.02 MB / 1.104 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.01094/15.84, allocations: 1.426 MB / 6.345 GB, free: 36.57 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/15.84, allocations: 0 / 6.345 GB, free: 36.57 MB / 1.104 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.007138/15.85, allocations: 1.062 MB / 6.346 GB, free: 35.5 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/15.85, allocations: 0.6176 MB / 6.347 GB, free: 34.84 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/15.85, allocations: 4 kB / 6.347 GB, free: 34.84 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003292/15.85, allocations: 468.4 kB / 6.347 GB, free: 34.38 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/15.85, allocations: 87.89 kB / 6.347 GB, free: 34.29 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/15.86, allocations: 4.551 MB / 6.352 GB, free: 29.59 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/15.86, allocations: 51.86 kB / 6.352 GB, free: 29.54 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/15.86, allocations: 20 kB / 6.352 GB, free: 29.52 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/15.86, allocations: 4 kB / 6.352 GB, free: 29.52 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004443/15.87, allocations: 0.9712 MB / 6.353 GB, free: 28.54 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/15.87, allocations: 0 / 6.353 GB, free: 28.54 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003161/15.87, allocations: 465.2 kB / 6.353 GB, free: 28.08 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/15.87, allocations: 75.91 kB / 6.353 GB, free: 28.01 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/15.89, allocations: 3.981 MB / 6.357 GB, free: 23.91 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/15.89, allocations: 51.8 kB / 6.357 GB, free: 23.86 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/15.89, allocations: 20 kB / 6.357 GB, free: 23.84 MB / 1.104 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.0004341/15.89, allocations: 121.8 kB / 6.357 GB, free: 23.71 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/15.89, allocations: 71.16 kB / 6.358 GB, free: 23.64 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00543/15.89, allocations: 1.058 MB / 6.359 GB, free: 22.58 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/15.89, allocations: 8 kB / 6.359 GB, free: 22.57 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/15.89, allocations: 4 kB / 6.359 GB, free: 22.57 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004357/15.9, allocations: 1.256 MB / 6.36 GB, free: 21.22 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007557/15.91, allocations: 2.251 MB / 6.362 GB, free: 18.91 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/15.91, allocations: 7.844 kB / 6.362 GB, free: 18.91 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000734/15.91, allocations: 84.11 kB / 6.362 GB, free: 18.82 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003873/15.91, allocations: 476.3 kB / 6.363 GB, free: 18.36 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/15.91, allocations: 19.98 kB / 6.363 GB, free: 18.34 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/15.92, allocations: 4.363 MB / 6.367 GB, free: 13.82 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/15.92, allocations: 4.062 kB / 6.367 GB, free: 13.82 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005367/15.93, allocations: 1.509 MB / 6.368 GB, free: 12.27 MB / 1.104 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006617/15.93, allocations: 2.373 MB / 6.371 GB, free: 9.836 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000824/15.93, allocations: 236.2 kB / 6.371 GB, free: 9.586 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/15.93, allocations: 11.98 kB / 6.371 GB, free: 9.574 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/15.94, allocations: 43.86 kB / 6.371 GB, free: 9.531 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/15.94, allocations: 36.45 kB / 6.371 GB, free: 9.496 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.971e-05/15.94, allocations: 19.98 kB / 6.371 GB, free: 9.477 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.0007038/15.94, allocations: 362.9 kB / 6.371 GB, free: 9.125 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.009605/15.95, allocations: 0.8124 MB / 6.372 GB, free: 8.312 MB / 1.104 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.004074/15.95, allocations: 1.385 MB / 6.373 GB, free: 6.898 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.008533/15.96, allocations: 1.513 MB / 6.375 GB, free: 5.367 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/15.96, allocations: 4 kB / 6.375 GB, free: 5.363 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.003312/15.96, allocations: 0.5682 MB / 6.375 GB, free: 4.785 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006224/15.97, allocations: 414.5 kB / 6.376 GB, free: 4.387 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007001/15.98, allocations: 1.541 MB / 6.377 GB, free: 2.801 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/15.98, allocations: 1.101 MB / 6.378 GB, free: 1.668 MB / 1.104 GB Notification: Performance of SimCode: time 2.855e-06/15.98, allocations: 0 / 6.378 GB, free: 1.668 MB / 1.104 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)