Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",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.0.0/package.mo): time 2.507/2.507, allocations: 284.8 MB / 292.1 MB, free: 10.71 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.001588/0.001587, allocations: 197.2 kB / 360.3 MB, free: 7.516 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.897/1.897, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001277/0.001276, allocations: 85.67 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2879/0.2892, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6458/0.9351, allocations: 115.2 MB / 0.9627 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.426/6.361, allocations: 2.084 GB / 3.047 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/6.361, allocations: 84.2 kB / 3.047 GB, free: 269.9 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 5.568/11.93, allocations: 1.087 GB / 4.134 GB, free: 154.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/11.93, allocations: 12.12 kB / 4.134 GB, free: 154.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005461/11.94, allocations: 0.5201 MB / 4.134 GB, free: 154.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006676/11.94, allocations: 1.553 MB / 4.136 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.562e-05/11.94, allocations: 44.38 kB / 4.136 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005112/11.94, allocations: 89.97 kB / 4.136 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004376/11.95, allocations: 1.232 MB / 4.137 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00491/11.95, allocations: 1.507 MB / 4.139 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.889e-05/11.95, allocations: 9.594 kB / 4.139 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/11.95, allocations: 3.906 kB / 4.139 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-05/11.95, allocations: 48.92 kB / 4.139 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/11.97, allocations: 7.134 MB / 4.146 GB, free: 149.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/11.97, allocations: 0.7403 MB / 4.146 GB, free: 149.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/11.97, allocations: 0.6561 MB / 4.147 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/11.97, allocations: 117.3 kB / 4.147 GB, free: 149.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/11.97, allocations: 56.19 kB / 4.147 GB, free: 149.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=106): time 4.358e-06/11.97, allocations: 3.938 kB / 4.147 GB, free: 149.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=112): time 0.01164/11.98, allocations: 3.61 MB / 4.151 GB, free: 148.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/11.98, allocations: 176.3 kB / 4.151 GB, free: 148.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/11.98, allocations: 0.7789 MB / 4.152 GB, free: 147.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003745/11.99, allocations: 29.45 kB / 4.152 GB, free: 147.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/11.99, allocations: 0.5193 MB / 4.152 GB, free: 147.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006864/11.99, allocations: 390 kB / 4.152 GB, free: 147.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/11.99, allocations: 0 / 4.152 GB, free: 147.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000124/11.99, allocations: 357.6 kB / 4.153 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/11.99, allocations: 484.9 kB / 4.153 GB, free: 147.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/11.99, allocations: 0.8035 MB / 4.154 GB, free: 146.8 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: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) 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 (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.03863/12.03, allocations: 4.139 MB / 4.158 GB, free: 146.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/12.03, allocations: 3.438 kB / 4.158 GB, free: 146.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004346/12.03, allocations: 1.432 MB / 4.159 GB, free: 146.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/12.03, allocations: 3.938 kB / 4.159 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/12.03, allocations: 7.219 kB / 4.159 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.246e-05/12.03, allocations: 19 kB / 4.16 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/12.04, allocations: 277.5 kB / 4.16 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-05/12.04, allocations: 26.47 kB / 4.16 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/12.04, allocations: 63.41 kB / 4.16 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004154/12.04, allocations: 63.73 kB / 4.16 GB, free: 146.4 MB / 0.948 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004406/12.04, allocations: 148.3 kB / 4.16 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006358/12.04, allocations: 139.3 kB / 4.16 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/12.04, allocations: 1.171 MB / 4.161 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/12.04, allocations: 11.12 kB / 4.161 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/12.04, allocations: 3.562 kB / 4.161 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002317/12.05, allocations: 1.161 MB / 4.162 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009846/12.06, allocations: 3.5 MB / 4.166 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/12.06, allocations: 14.16 kB / 4.166 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/12.06, allocations: 256.5 kB / 4.166 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.931e-05/12.06, allocations: 20.12 kB / 4.166 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/12.06, allocations: 21.31 kB / 4.166 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.032e-05/12.06, allocations: 23.3 kB / 4.166 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-05/12.06, allocations: 13.91 kB / 4.166 GB, free: 144.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004594/12.06, allocations: 2.664 MB / 4.169 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006626/12.07, allocations: 3.801 MB / 4.173 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/12.07, allocations: 330.9 kB / 4.173 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000531/12.07, allocations: 20.5 kB / 4.173 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003143/12.08, allocations: 74 kB / 4.173 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/12.08, allocations: 92.84 kB / 4.173 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/12.08, allocations: 55.38 kB / 4.173 GB, free: 141.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001286/12.08, allocations: 0.5796 MB / 4.174 GB, free: 141.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005094/12.08, allocations: 0.7807 MB / 4.174 GB, free: 141.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004133/12.09, allocations: 2.313 MB / 4.177 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003274/12.09, allocations: 1.143 MB / 4.178 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/12.09, allocations: 0 / 4.178 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/12.09, allocations: 0.5194 MB / 4.178 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006697/12.1, allocations: 0.6852 MB / 4.179 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009601/12.11, allocations: 2.736 MB / 4.182 GB, free: 139.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002515/12.11, allocations: 1.555 MB / 4.183 GB, free: 139.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.464e-06/12.11, allocations: 0 / 4.183 GB, free: 139.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)