Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.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.CoupledVolumesAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir",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.235/2.235, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001401, allocations: 190.5 kB / 490.8 MB, free: 1.902 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.794/1.794, allocations: 221.4 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 96.59 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.832/0.8331, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/1.207, allocations: 143 MB / 1.212 GB, free: 40.01 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.461/6.668, allocations: 2.165 GB / 3.377 GB, free: 145 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/6.669, allocations: 91.8 kB / 3.377 GB, free: 144.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 1.758/8.426, allocations: 494.2 MB / 3.86 GB, free: 100.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/8.426, allocations: 12 kB / 3.86 GB, free: 100.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/8.429, allocations: 326.4 kB / 3.86 GB, free: 100 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/8.431, allocations: 0.7726 MB / 3.861 GB, free: 99.19 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/8.431, allocations: 20 kB / 3.861 GB, free: 99.17 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/8.431, allocations: 39.98 kB / 3.861 GB, free: 99.13 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001108/8.432, allocations: 0.5024 MB / 3.861 GB, free: 98.63 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/8.433, allocations: 0.5155 MB / 3.862 GB, free: 98.11 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/8.433, allocations: 0 / 3.862 GB, free: 98.11 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/8.434, allocations: 0 / 3.862 GB, free: 98.11 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/8.434, allocations: 25.25 kB / 3.862 GB, free: 98.09 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/8.438, allocations: 2.778 MB / 3.865 GB, free: 95.09 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/8.438, allocations: 424 kB / 3.865 GB, free: 94.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/8.439, allocations: 242 kB / 3.865 GB, free: 94.43 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/8.439, allocations: 98.97 kB / 3.865 GB, free: 94.31 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/8.439, allocations: 42.56 kB / 3.865 GB, free: 94.26 MB / 1.151 GB Notification: Performance of pre-optimization done (n=46): time 3.627e-06/8.439, allocations: 3.938 kB / 3.865 GB, free: 94.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.003876/8.443, allocations: 1.311 MB / 3.867 GB, free: 92.89 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/8.443, allocations: 55.84 kB / 3.867 GB, free: 92.82 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007478/8.444, allocations: 434.4 kB / 3.867 GB, free: 92.39 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.405e-05/8.444, allocations: 25.7 kB / 3.867 GB, free: 92.36 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/8.444, allocations: 264.3 kB / 3.867 GB, free: 92.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/8.444, allocations: 173.4 kB / 3.868 GB, free: 91.92 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/8.445, allocations: 0 / 3.868 GB, free: 91.92 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001828/8.445, allocations: 374.7 kB / 3.868 GB, free: 91.54 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/8.445, allocations: 177 kB / 3.868 GB, free: 91.37 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/8.445, allocations: 273.8 kB / 3.868 GB, free: 91.07 MB / 1.151 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 (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/8.448, allocations: 0.8006 MB / 3.869 GB, free: 90.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/8.448, allocations: 4 kB / 3.869 GB, free: 90.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001165/8.449, allocations: 0.5538 MB / 3.87 GB, free: 89.69 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004343/8.45, allocations: 0.7079 MB / 3.87 GB, free: 88.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/8.45, allocations: 0 / 3.87 GB, free: 88.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002298/8.45, allocations: 40.78 kB / 3.87 GB, free: 88.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007569/8.451, allocations: 115.8 kB / 3.87 GB, free: 88.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/8.452, allocations: 2.021 MB / 3.872 GB, free: 86.61 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000993/8.453, allocations: 55.81 kB / 3.873 GB, free: 86.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/8.454, allocations: 16 kB / 3.873 GB, free: 86.54 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/8.454, allocations: 4 kB / 3.873 GB, free: 86.54 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007778/8.454, allocations: 478.2 kB / 3.873 GB, free: 86.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/8.454, allocations: 0 / 3.873 GB, free: 86.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/8.454, allocations: 36.83 kB / 3.873 GB, free: 86.03 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/8.455, allocations: 99.84 kB / 3.873 GB, free: 85.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/8.456, allocations: 1.439 MB / 3.875 GB, free: 84.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/8.457, allocations: 51.91 kB / 3.875 GB, free: 84.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/8.457, allocations: 16 kB / 3.875 GB, free: 84.31 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002738/8.458, allocations: 123.1 kB / 3.875 GB, free: 84.18 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/8.458, allocations: 67.16 kB / 3.875 GB, free: 84.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/8.459, allocations: 0.5298 MB / 3.875 GB, free: 83.58 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/8.459, allocations: 4 kB / 3.875 GB, free: 83.58 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/8.459, allocations: 0 / 3.875 GB, free: 83.58 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008406/8.46, allocations: 0.7676 MB / 3.876 GB, free: 82.72 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/8.463, allocations: 1.448 MB / 3.877 GB, free: 81.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/8.463, allocations: 0 / 3.877 GB, free: 81.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/8.464, allocations: 131.9 kB / 3.878 GB, free: 81.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/8.464, allocations: 44.89 kB / 3.878 GB, free: 81.02 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/8.464, allocations: 0 / 3.878 GB, free: 81.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/8.465, allocations: 1.885 MB / 3.879 GB, free: 79 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/8.465, allocations: 0 / 3.879 GB, free: 79 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001082/8.466, allocations: 0.9214 MB / 3.88 GB, free: 78.02 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001621/8.468, allocations: 1.635 MB / 3.882 GB, free: 76.33 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/8.468, allocations: 200.2 kB / 3.882 GB, free: 76.11 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/8.468, allocations: 4 kB / 3.882 GB, free: 76.11 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007134/8.469, allocations: 39.81 kB / 3.882 GB, free: 76.07 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/8.469, allocations: 27.95 kB / 3.882 GB, free: 76.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/8.469, allocations: 19.94 kB / 3.882 GB, free: 76.02 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004182/8.47, allocations: 342.9 kB / 3.883 GB, free: 75.69 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003643/8.473, allocations: 0.7069 MB / 3.883 GB, free: 74.98 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001957/8.475, allocations: 1.381 MB / 3.885 GB, free: 73.57 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001759/8.477, allocations: 0.958 MB / 3.886 GB, free: 72.59 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/8.477, allocations: 0 / 3.886 GB, free: 72.59 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004522/8.477, allocations: 366.5 kB / 3.886 GB, free: 72.22 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/8.479, allocations: 420.5 kB / 3.886 GB, free: 71.81 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/8.482, allocations: 1.308 MB / 3.888 GB, free: 70.46 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006258/8.483, allocations: 1.092 MB / 3.889 GB, free: 69.34 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/8.483, allocations: 4 kB / 3.889 GB, free: 69.34 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1)