Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7021/0.7021, allocations: 141.8 MB / 149.1 MB, free: 3.871 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001035, allocations: 186.6 kB / 181.9 MB, free: 15.61 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 221.4 MB / 436 MB, free: 8.754 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009521, allocations: 91.59 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001849/0.001849, allocations: 272.1 kB / 0.5884 GB, free: 11.82 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1762/0.1781, allocations: 89.65 MB / 0.676 GB, free: 2.094 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.506, allocations: 82.77 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.572/8.078, allocations: 4.63 GB / 5.387 GB, free: 177.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/8.078, allocations: 84.88 kB / 5.387 GB, free: 177.1 MB / 0.6982 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.592/9.67, allocations: 0.4934 GB / 5.881 GB, free: 145 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/9.67, allocations: 10.09 kB / 5.881 GB, free: 145 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/9.673, allocations: 342.6 kB / 5.881 GB, free: 144.9 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/9.675, allocations: 0.8939 MB / 5.882 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/9.675, allocations: 21.97 kB / 5.882 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/9.676, allocations: 35.72 kB / 5.882 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/9.677, allocations: 0.5269 MB / 5.882 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009371/9.678, allocations: 0.5271 MB / 5.883 GB, free: 144.6 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/9.678, allocations: 3.906 kB / 5.883 GB, free: 144.6 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/9.678, allocations: 3.312 kB / 5.883 GB, free: 144.6 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/9.678, allocations: 23.09 kB / 5.883 GB, free: 144.6 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/9.681, allocations: 2.691 MB / 5.886 GB, free: 143.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/9.682, allocations: 418.3 kB / 5.886 GB, free: 143.3 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/9.682, allocations: 237 kB / 5.886 GB, free: 143.2 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/9.682, allocations: 99.44 kB / 5.886 GB, free: 143.2 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/9.682, allocations: 38.56 kB / 5.886 GB, free: 143.1 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=45): time 2.445e-06/9.682, allocations: 3 kB / 5.886 GB, free: 143.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=63): time 0.008094/9.69, allocations: 2.684 MB / 5.889 GB, free: 142.7 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/9.69, allocations: 62.38 kB / 5.889 GB, free: 142.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005795/9.691, allocations: 469.3 kB / 5.89 GB, free: 142.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-05/9.691, allocations: 25.7 kB / 5.89 GB, free: 142.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/9.691, allocations: 268.7 kB / 5.89 GB, free: 142.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/9.691, allocations: 210.1 kB / 5.89 GB, free: 142.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/9.691, allocations: 0 / 5.89 GB, free: 142.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/9.692, allocations: 381.4 kB / 5.89 GB, free: 141.9 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/9.692, allocations: 271.6 kB / 5.891 GB, free: 141.9 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/9.692, allocations: 374.8 kB / 5.891 GB, free: 141.8 MB / 0.6982 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.005572/9.698, allocations: 1.436 MB / 5.892 GB, free: 141.7 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/9.698, allocations: 3.906 kB / 5.892 GB, free: 141.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002495/9.7, allocations: 1.056 MB / 5.893 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/9.701, allocations: 0.6094 MB / 5.894 GB, free: 141 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/9.701, allocations: 8.766 kB / 5.894 GB, free: 141 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/9.702, allocations: 469.4 kB / 5.894 GB, free: 140.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/9.703, allocations: 92.39 kB / 5.895 GB, free: 140.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/9.71, allocations: 4.569 MB / 5.899 GB, free: 139 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/9.711, allocations: 55.33 kB / 5.899 GB, free: 139 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.141e-05/9.711, allocations: 18.84 kB / 5.899 GB, free: 139 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/9.711, allocations: 7.312 kB / 5.899 GB, free: 139 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002535/9.714, allocations: 0.9619 MB / 5.9 GB, free: 139 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/9.714, allocations: 0 / 5.9 GB, free: 139 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/9.715, allocations: 457 kB / 5.9 GB, free: 139 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/9.716, allocations: 78.42 kB / 5.901 GB, free: 139 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/9.722, allocations: 3.976 MB / 5.904 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007854/9.722, allocations: 54.5 kB / 5.904 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/9.723, allocations: 32.39 kB / 5.905 GB, free: 137.6 MB / 0.6982 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.0002397/9.723, allocations: 122.5 kB / 5.905 GB, free: 137.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/9.723, allocations: 72.06 kB / 5.905 GB, free: 137.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/9.726, allocations: 1.05 MB / 5.906 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/9.726, allocations: 9.047 kB / 5.906 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/9.726, allocations: 3.75 kB / 5.906 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002979/9.729, allocations: 1.261 MB / 5.907 GB, free: 136.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004945/9.734, allocations: 2.252 MB / 5.909 GB, free: 136.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/9.734, allocations: 1.031 kB / 5.909 GB, free: 136.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/9.734, allocations: 69.16 kB / 5.909 GB, free: 136.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/9.736, allocations: 478.7 kB / 5.91 GB, free: 136.5 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/9.736, allocations: 17.45 kB / 5.91 GB, free: 136.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00573/9.742, allocations: 4.361 MB / 5.914 GB, free: 134.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/9.742, allocations: 6.312 kB / 5.914 GB, free: 134.6 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002729/9.745, allocations: 1.507 MB / 5.915 GB, free: 134.3 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003414/9.748, allocations: 2.375 MB / 5.918 GB, free: 133.7 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/9.748, allocations: 239.1 kB / 5.918 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/9.749, allocations: 14.2 kB / 5.918 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008223/9.749, allocations: 35.12 kB / 5.918 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/9.75, allocations: 42.48 kB / 5.918 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/9.75, allocations: 26.27 kB / 5.918 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004499/9.75, allocations: 368.7 kB / 5.918 GB, free: 133.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003825/9.754, allocations: 0.8137 MB / 5.919 GB, free: 133.4 MB / 0.6982 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.001751/9.756, allocations: 1.372 MB / 5.921 GB, free: 133.2 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.003087/9.759, allocations: 1.506 MB / 5.922 GB, free: 132.9 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/9.759, allocations: 0 / 5.922 GB, free: 132.9 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/9.76, allocations: 0.5726 MB / 5.923 GB, free: 132.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/9.762, allocations: 434 kB / 5.923 GB, free: 132.8 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/9.765, allocations: 1.527 MB / 5.925 GB, free: 132.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006798/9.765, allocations: 1.111 MB / 5.926 GB, free: 131.7 MB / 0.6982 GB Notification: Performance of SimCode: time 2.8e-07/9.765, allocations: 0 / 5.926 GB, free: 131.7 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)