Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001371/0.001371, allocations: 185.2 kB / 366.3 MB, free: 1.988 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.445/1.445, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009126/0.0009128, allocations: 86.77 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2659/0.2669, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.9217, allocations: 116.3 MB / 0.9726 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.775/5.697, allocations: 2.085 GB / 3.058 GB, free: 356.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/5.697, allocations: 90.86 kB / 3.058 GB, free: 356.5 MB / 0.948 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.225/9.922, allocations: 1.087 GB / 4.145 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/9.922, allocations: 11.34 kB / 4.145 GB, free: 158.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/9.926, allocations: 0.5129 MB / 4.145 GB, free: 158.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004316/9.931, allocations: 1.55 MB / 4.147 GB, free: 157.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/9.931, allocations: 44.44 kB / 4.147 GB, free: 157.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/9.931, allocations: 100.1 kB / 4.147 GB, free: 157.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002311/9.933, allocations: 1.234 MB / 4.148 GB, free: 157.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/9.935, allocations: 1.503 MB / 4.15 GB, free: 157.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/9.936, allocations: 3.75 kB / 4.15 GB, free: 157.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/9.936, allocations: 7.062 kB / 4.15 GB, free: 157.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/9.936, allocations: 55.39 kB / 4.15 GB, free: 157.6 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008829/9.945, allocations: 7.114 MB / 4.157 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/9.946, allocations: 0.7444 MB / 4.157 GB, free: 153.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007893/9.946, allocations: 0.6501 MB / 4.158 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002368/9.947, allocations: 118.3 kB / 4.158 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/9.947, allocations: 50.41 kB / 4.158 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=106): time 3.066e-06/9.947, allocations: 0 / 4.158 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=112): time 0.006986/9.954, allocations: 3.61 MB / 4.162 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/9.954, allocations: 178.1 kB / 4.162 GB, free: 152 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/9.955, allocations: 0.7796 MB / 4.163 GB, free: 151.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.304e-05/9.955, allocations: 25.7 kB / 4.163 GB, free: 151.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/9.955, allocations: 0.5244 MB / 4.163 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/9.956, allocations: 380.6 kB / 4.163 GB, free: 151.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/9.956, allocations: 0 / 4.163 GB, free: 151.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001062/9.956, allocations: 361.7 kB / 4.164 GB, free: 151 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/9.957, allocations: 489.1 kB / 4.164 GB, free: 151 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/9.957, allocations: 0.8004 MB / 4.165 GB, free: 150.7 MB / 0.9636 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.01929/9.977, allocations: 4.154 MB / 4.169 GB, free: 150.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/9.977, allocations: 3.688 kB / 4.169 GB, free: 150.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002356/9.979, allocations: 1.428 MB / 4.17 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/9.979, allocations: 3.906 kB / 4.17 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/9.979, allocations: 14.78 kB / 4.171 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/9.979, allocations: 13.44 kB / 4.171 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/9.98, allocations: 279.9 kB / 4.171 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/9.98, allocations: 24.08 kB / 4.171 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/9.982, allocations: 67.83 kB / 4.171 GB, free: 150.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/9.982, allocations: 61.84 kB / 4.171 GB, free: 150.2 MB / 0.9636 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.0002978/9.983, allocations: 152.6 kB / 4.171 GB, free: 150.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/9.983, allocations: 140.8 kB / 4.171 GB, free: 150.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/9.985, allocations: 1.165 MB / 4.172 GB, free: 150 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/9.985, allocations: 17.03 kB / 4.172 GB, free: 150 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/9.985, allocations: 0 / 4.172 GB, free: 150 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/9.986, allocations: 1.157 MB / 4.173 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006492/9.993, allocations: 3.497 MB / 4.177 GB, free: 148.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/9.993, allocations: 13.69 kB / 4.177 GB, free: 148.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/9.994, allocations: 249.3 kB / 4.177 GB, free: 148.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.657e-05/9.994, allocations: 16.91 kB / 4.177 GB, free: 148.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/9.994, allocations: 32.55 kB / 4.177 GB, free: 148.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-05/9.994, allocations: 21.56 kB / 4.177 GB, free: 148.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/9.995, allocations: 14.84 kB / 4.177 GB, free: 148.7 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003184/9.998, allocations: 2.662 MB / 4.18 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004683/10, allocations: 3.801 MB / 4.184 GB, free: 145.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/10, allocations: 336 kB / 4.184 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004853/10, allocations: 29.69 kB / 4.184 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/10.01, allocations: 63.5 kB / 4.184 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/10.01, allocations: 94.61 kB / 4.184 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/10.01, allocations: 52 kB / 4.184 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001066/10.01, allocations: 0.5815 MB / 4.185 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003795/10.01, allocations: 0.7743 MB / 4.185 GB, free: 145.4 MB / 0.9636 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.0038/10.01, allocations: 2.317 MB / 4.188 GB, free: 144.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002481/10.02, allocations: 1.139 MB / 4.189 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/10.02, allocations: 3.844 kB / 4.189 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009012/10.02, allocations: 0.5206 MB / 4.189 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004284/10.02, allocations: 0.6824 MB / 4.19 GB, free: 144.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/10.03, allocations: 2.735 MB / 4.193 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/10.03, allocations: 1.552 MB / 4.194 GB, free: 143.1 MB / 0.9636 GB Notification: Performance of SimCode: time 2.425e-06/10.03, allocations: 3.75 kB / 4.194 GB, free: 143.1 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)