Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.758/0.758, allocations: 127.4 MB / 134.6 MB, free: 4.055 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001636/0.001636, allocations: 189.3 kB / 164.4 MB, free: 6.848 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 399.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009546/0.0009546, allocations: 76.27 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3664/0.3674, allocations: 82.89 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.565, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.55/12.11, allocations: 4.832 GB / 5.453 GB, free: 65.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/12.11, allocations: 88.69 kB / 5.453 GB, free: 65.68 MB / 0.6355 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.067/14.18, allocations: 0.5014 GB / 5.954 GB, free: 42.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/14.18, allocations: 8 kB / 5.954 GB, free: 42.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/14.18, allocations: 338.5 kB / 5.955 GB, free: 42.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/14.19, allocations: 0.9793 MB / 5.956 GB, free: 41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/14.19, allocations: 20 kB / 5.956 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/14.19, allocations: 39.91 kB / 5.956 GB, free: 40.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001346/14.19, allocations: 0.5297 MB / 5.956 GB, free: 40.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/14.19, allocations: 0.5271 MB / 5.957 GB, free: 39.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/14.19, allocations: 3.938 kB / 5.957 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/14.19, allocations: 3.984 kB / 5.957 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/14.19, allocations: 21.31 kB / 5.957 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/14.2, allocations: 2.69 MB / 5.959 GB, free: 36.92 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/14.2, allocations: 428 kB / 5.96 GB, free: 36.49 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003003/14.2, allocations: 229.9 kB / 5.96 GB, free: 36.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/14.2, allocations: 291.6 kB / 5.96 GB, free: 35.92 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/14.2, allocations: 42.88 kB / 5.96 GB, free: 35.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 3.447e-06/14.2, allocations: 0 / 5.96 GB, free: 35.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=63): time 0.009248/14.21, allocations: 2.663 MB / 5.963 GB, free: 33.15 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/14.21, allocations: 64.06 kB / 5.963 GB, free: 33.08 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/14.21, allocations: 458.4 kB / 5.963 GB, free: 32.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/14.21, allocations: 29.7 kB / 5.963 GB, free: 32.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/14.21, allocations: 276.1 kB / 5.964 GB, free: 32.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/14.21, allocations: 204.9 kB / 5.964 GB, free: 32.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/14.21, allocations: 3.938 kB / 5.964 GB, free: 32.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001943/14.21, allocations: 382.7 kB / 5.964 GB, free: 31.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/14.21, allocations: 273.2 kB / 5.964 GB, free: 31.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/14.21, allocations: 380.1 kB / 5.965 GB, free: 31.05 MB / 0.6355 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.005625/14.21, allocations: 1.387 MB / 5.966 GB, free: 29.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/14.21, allocations: 0 / 5.966 GB, free: 29.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002718/14.22, allocations: 1.07 MB / 5.967 GB, free: 28.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002215/14.22, allocations: 0.6189 MB / 5.968 GB, free: 27.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/14.22, allocations: 3.906 kB / 5.968 GB, free: 27.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/14.22, allocations: 424.6 kB / 5.968 GB, free: 27.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/14.22, allocations: 179.8 kB / 5.968 GB, free: 27.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007492/14.23, allocations: 4.591 MB / 5.973 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/14.23, allocations: 59.83 kB / 5.973 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/14.23, allocations: 24 kB / 5.973 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/14.23, allocations: 8 kB / 5.973 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002433/14.23, allocations: 0.9593 MB / 5.974 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/14.23, allocations: 0 / 5.974 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/14.23, allocations: 433.2 kB / 5.974 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/14.23, allocations: 75.89 kB / 5.974 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006393/14.24, allocations: 3.936 MB / 5.978 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/14.24, allocations: 51.8 kB / 5.978 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/14.24, allocations: 24 kB / 5.978 GB, free: 16.88 MB / 0.6355 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.0004429/14.24, allocations: 133.1 kB / 5.978 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/14.24, allocations: 71.16 kB / 5.979 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/14.24, allocations: 90.38 kB / 5.979 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/14.24, allocations: 7.906 kB / 5.979 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/14.24, allocations: 0 / 5.979 GB, free: 16.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002449/14.24, allocations: 1.28 MB / 5.98 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/14.25, allocations: 2.227 MB / 5.982 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/14.25, allocations: 0 / 5.982 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/14.25, allocations: 171.9 kB / 5.982 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/14.25, allocations: 442.5 kB / 5.983 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.817e-05/14.25, allocations: 11.98 kB / 5.983 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008004/14.26, allocations: 5.149 MB / 5.988 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/14.26, allocations: 0 / 5.988 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003202/14.26, allocations: 1.517 MB / 5.989 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004178/14.27, allocations: 2.381 MB / 5.991 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000816/14.27, allocations: 236.2 kB / 5.992 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003022/14.27, allocations: 8.375 kB / 5.992 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/14.27, allocations: 47.86 kB / 5.992 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/14.27, allocations: 36.44 kB / 5.992 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/14.27, allocations: 31.98 kB / 5.992 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0006589/14.27, allocations: 358.9 kB / 5.992 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004991/14.28, allocations: 0.8044 MB / 5.993 GB, free: 1.414 MB / 0.6355 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.002355/14.28, allocations: 1.369 MB / 5.994 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005169/14.28, allocations: 1.638 MB / 5.996 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/14.28, allocations: 0 / 5.996 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002643/14.29, allocations: 0.7086 MB / 5.997 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/14.29, allocations: 419.7 kB / 5.997 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/14.29, allocations: 1.529 MB / 5.998 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/14.3, allocations: 1.109 MB / 6 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of SimCode: time 3.487e-06/14.3, allocations: 0 / 6 GB, free: 10.53 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)