Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.001435/0.001435, allocations: 185.3 kB / 366.3 MB, free: 2.008 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.654/1.654, allocations: 205.2 MB / 0.6256 GB, free: 5.84 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.0009772/0.0009768, allocations: 85.89 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2906/0.2916, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.9756, allocations: 116.3 MB / 0.9726 GB, free: 68.13 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.68/11.66, allocations: 4.882 GB / 5.855 GB, free: 148.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/11.66, allocations: 88.47 kB / 5.855 GB, free: 148.4 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.672/13.33, allocations: 0.4897 GB / 6.345 GB, free: 14.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/13.33, allocations: 12 kB / 6.345 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/13.33, allocations: 342.4 kB / 6.345 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/13.33, allocations: 0.8897 MB / 6.346 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/13.33, allocations: 20 kB / 6.346 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/13.33, allocations: 36 kB / 6.346 GB, free: 13.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001082/13.34, allocations: 0.5219 MB / 6.346 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/13.34, allocations: 0.5309 MB / 6.347 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/13.34, allocations: 4 kB / 6.347 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/13.34, allocations: 0 / 6.347 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/13.34, allocations: 29.3 kB / 6.347 GB, free: 12.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/13.34, allocations: 2.705 MB / 6.35 GB, free: 9.438 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/13.34, allocations: 416.1 kB / 6.35 GB, free: 9.023 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/13.34, allocations: 233.9 kB / 6.35 GB, free: 8.789 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/13.34, allocations: 97.47 kB / 6.35 GB, free: 8.676 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/13.34, allocations: 46.78 kB / 6.35 GB, free: 8.621 MB / 0.948 GB Notification: Performance of pre-optimization done (n=45): time 2.094e-06/13.34, allocations: 0 / 6.35 GB, free: 8.621 MB / 0.948 GB Notification: Performance of matching and sorting (n=63): time 0.008179/13.35, allocations: 2.675 MB / 6.353 GB, free: 5.887 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/13.35, allocations: 56.06 kB / 6.353 GB, free: 5.816 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/13.35, allocations: 470.4 kB / 6.353 GB, free: 5.352 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/13.35, allocations: 29.7 kB / 6.353 GB, free: 5.316 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/13.35, allocations: 272.1 kB / 6.354 GB, free: 5.043 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/13.35, allocations: 216.8 kB / 6.354 GB, free: 4.828 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/13.35, allocations: 0 / 6.354 GB, free: 4.828 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001062/13.35, allocations: 382.7 kB / 6.354 GB, free: 4.445 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/13.35, allocations: 269.2 kB / 6.354 GB, free: 4.184 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/13.35, allocations: 372.1 kB / 6.355 GB, free: 3.781 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.005564/13.36, allocations: 1.43 MB / 6.356 GB, free: 2.336 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/13.36, allocations: 4 kB / 6.356 GB, free: 2.332 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002517/13.36, allocations: 1.054 MB / 6.357 GB, free: 1.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/13.36, allocations: 0.6188 MB / 6.358 GB, free: 0.6016 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/13.36, allocations: 0 / 6.358 GB, free: 0.6016 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001824/13.36, allocations: 461 kB / 6.358 GB, free: 152 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006137/13.36, allocations: 95.81 kB / 6.358 GB, free: 56 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5149/13.88, allocations: 4.565 MB / 6.363 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/13.88, allocations: 47.75 kB / 6.363 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/13.88, allocations: 24.27 kB / 6.363 GB, free: 290.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/13.88, allocations: 7.031 kB / 6.363 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00246/13.88, allocations: 0.968 MB / 6.364 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/13.88, allocations: 3.594 kB / 6.364 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/13.88, allocations: 462.3 kB / 6.364 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/13.88, allocations: 75.41 kB / 6.364 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006078/13.89, allocations: 3.967 MB / 6.368 GB, free: 288.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/13.89, allocations: 57.48 kB / 6.368 GB, free: 288.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/13.89, allocations: 15.56 kB / 6.368 GB, free: 288.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.0002992/13.89, allocations: 127.1 kB / 6.368 GB, free: 288.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/13.89, allocations: 72.53 kB / 6.369 GB, free: 288.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/13.89, allocations: 1.055 MB / 6.37 GB, free: 288.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/13.89, allocations: 3.562 kB / 6.37 GB, free: 288.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/13.89, allocations: 0 / 6.37 GB, free: 288.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002511/13.9, allocations: 1.263 MB / 6.371 GB, free: 288.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005082/13.9, allocations: 2.258 MB / 6.373 GB, free: 287.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/13.9, allocations: 0 / 6.373 GB, free: 287.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/13.9, allocations: 69.56 kB / 6.373 GB, free: 287.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002108/13.9, allocations: 481.1 kB / 6.374 GB, free: 287.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/13.9, allocations: 23.3 kB / 6.374 GB, free: 287.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007064/13.91, allocations: 4.362 MB / 6.378 GB, free: 286 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/13.91, allocations: 3.594 kB / 6.378 GB, free: 286 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003869/13.91, allocations: 1.507 MB / 6.379 GB, free: 285.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004429/13.92, allocations: 2.372 MB / 6.382 GB, free: 285.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/13.92, allocations: 243.6 kB / 6.382 GB, free: 284.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/13.92, allocations: 10.44 kB / 6.382 GB, free: 284.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/13.92, allocations: 45.73 kB / 6.382 GB, free: 284.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/13.92, allocations: 34.98 kB / 6.382 GB, free: 284.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.93e-05/13.92, allocations: 23.91 kB / 6.382 GB, free: 284.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008315/13.92, allocations: 367.2 kB / 6.382 GB, free: 284.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005715/13.93, allocations: 0.8128 MB / 6.383 GB, free: 284.8 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.003009/13.93, allocations: 1.378 MB / 6.384 GB, free: 284.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003688/13.93, allocations: 1.515 MB / 6.386 GB, free: 284.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/13.93, allocations: 2.062 kB / 6.386 GB, free: 284.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/13.94, allocations: 0.5665 MB / 6.386 GB, free: 284.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/13.94, allocations: 425 kB / 6.387 GB, free: 284.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/13.94, allocations: 1.527 MB / 6.388 GB, free: 283.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009523/13.94, allocations: 1.109 MB / 6.389 GB, free: 283.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.653e-06/13.94, allocations: 0 / 6.389 GB, free: 283.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)