Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.116/2.116, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 180.5 kB / 490.8 MB, free: 11.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.798/1.798, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001075, allocations: 90 kB / 0.9264 GB, free: 4.516 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.379/0.3802, allocations: 149.1 MB / 1.072 GB, free: 15.48 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.438, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.78/12.22, allocations: 4.671 GB / 5.883 GB, free: 187 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/12.22, allocations: 91.8 kB / 5.883 GB, free: 187 MB / 1.167 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.825/14.04, allocations: 0.503 GB / 6.386 GB, free: 131.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/14.04, allocations: 8 kB / 6.386 GB, free: 131.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/14.05, allocations: 342.4 kB / 6.386 GB, free: 131.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003901/14.05, allocations: 0.9052 MB / 6.387 GB, free: 130.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/14.05, allocations: 20 kB / 6.387 GB, free: 130.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/14.05, allocations: 36 kB / 6.387 GB, free: 130.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001913/14.05, allocations: 0.5297 MB / 6.387 GB, free: 130 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/14.06, allocations: 0.5311 MB / 6.388 GB, free: 129.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/14.06, allocations: 4 kB / 6.388 GB, free: 129.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-05/14.06, allocations: 7.844 kB / 6.388 GB, free: 129.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/14.06, allocations: 21.31 kB / 6.388 GB, free: 129.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004531/14.06, allocations: 2.815 MB / 6.391 GB, free: 126.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/14.06, allocations: 435.7 kB / 6.391 GB, free: 125.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/14.06, allocations: 237.5 kB / 6.391 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/14.06, allocations: 103 kB / 6.392 GB, free: 125.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/14.06, allocations: 42.5 kB / 6.392 GB, free: 125.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=45): time 2.474e-06/14.06, allocations: 0 / 6.392 GB, free: 125.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.008129/14.07, allocations: 2.508 MB / 6.394 GB, free: 123 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/14.07, allocations: 63.84 kB / 6.394 GB, free: 122.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/14.07, allocations: 478.5 kB / 6.395 GB, free: 122.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/14.07, allocations: 29.7 kB / 6.395 GB, free: 122.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/14.07, allocations: 268.2 kB / 6.395 GB, free: 122.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/14.07, allocations: 208.8 kB / 6.395 GB, free: 121.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/14.07, allocations: 3.938 kB / 6.395 GB, free: 121.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001047/14.07, allocations: 374.8 kB / 6.395 GB, free: 121.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/14.07, allocations: 261.2 kB / 6.396 GB, free: 121.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/14.07, allocations: 350.4 kB / 6.396 GB, free: 120.9 MB / 1.167 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.005635/14.08, allocations: 1.395 MB / 6.397 GB, free: 119.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/14.08, allocations: 0 / 6.397 GB, free: 119.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002672/14.08, allocations: 1.012 MB / 6.398 GB, free: 118.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/14.08, allocations: 0.6188 MB / 6.399 GB, free: 117.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/14.08, allocations: 4 kB / 6.399 GB, free: 117.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/14.08, allocations: 426.8 kB / 6.399 GB, free: 117.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/14.08, allocations: 83.89 kB / 6.399 GB, free: 117.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005994/14.09, allocations: 4.396 MB / 6.404 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/14.09, allocations: 63.64 kB / 6.404 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/14.09, allocations: 20 kB / 6.404 GB, free: 112.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/14.09, allocations: 0 / 6.404 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002317/14.09, allocations: 0.9165 MB / 6.405 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/14.09, allocations: 3.984 kB / 6.405 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/14.09, allocations: 433.5 kB / 6.405 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/14.09, allocations: 75.84 kB / 6.405 GB, free: 111.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/14.1, allocations: 3.797 MB / 6.409 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/14.1, allocations: 47.77 kB / 6.409 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/14.1, allocations: 28 kB / 6.409 GB, free: 107.3 MB / 1.167 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0003614/14.1, allocations: 129.9 kB / 6.409 GB, free: 107.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/14.1, allocations: 71.16 kB / 6.409 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/14.1, allocations: 1.011 MB / 6.41 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/14.1, allocations: 11.94 kB / 6.41 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/14.1, allocations: 0 / 6.41 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002129/14.11, allocations: 1.221 MB / 6.411 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004149/14.11, allocations: 2.168 MB / 6.413 GB, free: 102.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/14.11, allocations: 0 / 6.413 GB, free: 102.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/14.11, allocations: 67.91 kB / 6.414 GB, free: 102.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/14.11, allocations: 460.2 kB / 6.414 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/14.11, allocations: 15.98 kB / 6.414 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005661/14.12, allocations: 4.31 MB / 6.418 GB, free: 97.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/14.12, allocations: 7.875 kB / 6.418 GB, free: 97.49 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002946/14.12, allocations: 1.461 MB / 6.42 GB, free: 95.98 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003709/14.12, allocations: 2.302 MB / 6.422 GB, free: 93.63 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/14.13, allocations: 232.2 kB / 6.422 GB, free: 93.38 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/14.13, allocations: 12 kB / 6.422 GB, free: 93.37 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008525/14.13, allocations: 43.8 kB / 6.422 GB, free: 93.33 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/14.13, allocations: 32.45 kB / 6.422 GB, free: 93.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/14.13, allocations: 23.98 kB / 6.422 GB, free: 93.27 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0005018/14.13, allocations: 366.9 kB / 6.423 GB, free: 92.92 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004223/14.13, allocations: 0.8242 MB / 6.423 GB, free: 92.09 MB / 1.167 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 (37): * Single equations (assignments): 35 * 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 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.00189/14.13, allocations: 1.365 MB / 6.425 GB, free: 90.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003044/14.14, allocations: 1.419 MB / 6.426 GB, free: 89.26 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/14.14, allocations: 0 / 6.426 GB, free: 89.26 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/14.14, allocations: 0.5292 MB / 6.427 GB, free: 88.72 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/14.14, allocations: 425 kB / 6.427 GB, free: 88.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/14.14, allocations: 1.537 MB / 6.428 GB, free: 86.73 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/14.14, allocations: 1.12 MB / 6.43 GB, free: 85.59 MB / 1.167 GB Notification: Performance of SimCode: time 1.413e-06/14.14, allocations: 0 / 6.43 GB, free: 85.59 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)