Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.2/2.2, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001018/0.001018, allocations: 181.2 kB / 490.8 MB, free: 1.953 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.389/1.389, allocations: 221.3 MB / 0.7863 GB, free: 13.8 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.00098/0.0009803, allocations: 103.2 kB / 0.9264 GB, free: 14.32 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6382/0.6392, allocations: 149.1 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.9449, allocations: 143 MB / 1.212 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.353/6.298, allocations: 1.931 GB / 3.143 GB, free: 367.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/6.299, allocations: 84.73 kB / 3.143 GB, free: 367.8 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 4.282/10.58, allocations: 1.114 GB / 4.257 GB, free: 155 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/10.58, allocations: 8 kB / 4.257 GB, free: 155 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/10.59, allocations: 0.5206 MB / 4.258 GB, free: 154.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005819/10.59, allocations: 1.609 MB / 4.259 GB, free: 152.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/10.59, allocations: 44 kB / 4.259 GB, free: 152.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006215/10.59, allocations: 91.91 kB / 4.259 GB, free: 152.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003131/10.6, allocations: 1.239 MB / 4.261 GB, free: 151.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/10.6, allocations: 1.506 MB / 4.262 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.654e-05/10.6, allocations: 7.938 kB / 4.262 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/10.6, allocations: 4 kB / 4.262 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.093e-05/10.6, allocations: 50.53 kB / 4.262 GB, free: 149.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/10.61, allocations: 7.34 MB / 4.269 GB, free: 142.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/10.61, allocations: 0.7267 MB / 4.27 GB, free: 141.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009018/10.61, allocations: 0.6483 MB / 4.271 GB, free: 140.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/10.61, allocations: 113.7 kB / 4.271 GB, free: 140.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/10.61, allocations: 59.55 kB / 4.271 GB, free: 140.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=106): time 4.568e-06/10.61, allocations: 2.953 kB / 4.271 GB, free: 140.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=112): time 0.008606/10.62, allocations: 3.617 MB / 4.274 GB, free: 136.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/10.62, allocations: 175.1 kB / 4.275 GB, free: 136.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/10.62, allocations: 0.7909 MB / 4.275 GB, free: 135.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/10.62, allocations: 29.7 kB / 4.275 GB, free: 135.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/10.62, allocations: 0.5271 MB / 4.276 GB, free: 135.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000362/10.62, allocations: 382.3 kB / 4.276 GB, free: 134.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/10.62, allocations: 0 / 4.276 GB, free: 134.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001161/10.62, allocations: 357.9 kB / 4.277 GB, free: 134.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006942/10.62, allocations: 490.5 kB / 4.277 GB, free: 134.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009138/10.63, allocations: 0.7979 MB / 4.278 GB, free: 133.1 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: 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.02046/10.65, allocations: 4.174 MB / 4.282 GB, free: 128.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/10.65, allocations: 8 kB / 4.282 GB, free: 128.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003026/10.65, allocations: 1.431 MB / 4.283 GB, free: 127.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/10.65, allocations: 8 kB / 4.283 GB, free: 127.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/10.65, allocations: 8 kB / 4.283 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.655e-05/10.65, allocations: 20.03 kB / 4.283 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/10.65, allocations: 280.2 kB / 4.284 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-05/10.65, allocations: 30.98 kB / 4.284 GB, free: 127.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/10.65, allocations: 79.62 kB / 4.284 GB, free: 127.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/10.65, allocations: 59.97 kB / 4.284 GB, free: 127 MB / 1.167 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.000418/10.65, allocations: 148.7 kB / 4.284 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006495/10.65, allocations: 142.3 kB / 4.284 GB, free: 126.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/10.66, allocations: 1.169 MB / 4.285 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/10.66, allocations: 12 kB / 4.285 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/10.66, allocations: 11.98 kB / 4.285 GB, free: 125.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001616/10.66, allocations: 1.157 MB / 4.286 GB, free: 124.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007615/10.67, allocations: 3.505 MB / 4.29 GB, free: 120.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/10.67, allocations: 12 kB / 4.29 GB, free: 120.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/10.67, allocations: 243.7 kB / 4.29 GB, free: 120.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.283e-05/10.67, allocations: 16 kB / 4.29 GB, free: 120.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/10.67, allocations: 24.5 kB / 4.29 GB, free: 120.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.49e-05/10.67, allocations: 26.88 kB / 4.29 GB, free: 120.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.57e-05/10.67, allocations: 19.94 kB / 4.29 GB, free: 120.3 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003359/10.67, allocations: 2.569 MB / 4.293 GB, free: 117.4 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004788/10.68, allocations: 3.687 MB / 4.296 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/10.68, allocations: 335.3 kB / 4.297 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005371/10.68, allocations: 20 kB / 4.297 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/10.68, allocations: 71.78 kB / 4.297 GB, free: 112.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/10.68, allocations: 92.31 kB / 4.297 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/10.68, allocations: 47.98 kB / 4.297 GB, free: 112.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001122/10.68, allocations: 0.5923 MB / 4.297 GB, free: 112.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004083/10.68, allocations: 0.7815 MB / 4.298 GB, free: 111.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,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.003902/10.69, allocations: 2.331 MB / 4.3 GB, free: 109.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002033/10.69, allocations: 1.136 MB / 4.301 GB, free: 108 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/10.69, allocations: 0 / 4.301 GB, free: 108 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007622/10.69, allocations: 0.5162 MB / 4.302 GB, free: 107.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004396/10.7, allocations: 0.689 MB / 4.303 GB, free: 106.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006791/10.7, allocations: 2.77 MB / 4.305 GB, free: 103.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/10.71, allocations: 1.554 MB / 4.307 GB, free: 102.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.623e-06/10.71, allocations: 0 / 4.307 GB, free: 102.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)