Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.014/2.014, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001072/0.001072, allocations: 191.8 kB / 487 MB, free: 5.406 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.429/1.429, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 99.61 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6522/0.6532, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.9564, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.76/5.716, allocations: 1.93 GB / 3.135 GB, free: 377.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/5.717, allocations: 91.89 kB / 3.135 GB, free: 377.2 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 3.442/9.159, allocations: 1.114 GB / 4.25 GB, free: 116.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/9.159, allocations: 8 kB / 4.25 GB, free: 116.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003314/9.162, allocations: 0.5244 MB / 4.25 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/9.166, allocations: 1.589 MB / 4.252 GB, free: 114.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/9.166, allocations: 44 kB / 4.252 GB, free: 114.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/9.167, allocations: 91.84 kB / 4.252 GB, free: 114.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002013/9.169, allocations: 1.243 MB / 4.253 GB, free: 113.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/9.171, allocations: 1.506 MB / 4.255 GB, free: 111.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/9.171, allocations: 4 kB / 4.255 GB, free: 111.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/9.171, allocations: 8 kB / 4.255 GB, free: 111.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/9.171, allocations: 50.48 kB / 4.255 GB, free: 111.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008078/9.179, allocations: 7.355 MB / 4.262 GB, free: 103.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008934/9.18, allocations: 0.731 MB / 4.262 GB, free: 103.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006964/9.181, allocations: 0.6484 MB / 4.263 GB, free: 102.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/9.181, allocations: 118 kB / 4.263 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/9.181, allocations: 51.56 kB / 4.263 GB, free: 102.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=106): time 4.268e-06/9.181, allocations: 0 / 4.263 GB, free: 102.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=112): time 0.006338/9.187, allocations: 3.624 MB / 4.267 GB, free: 98.62 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/9.188, allocations: 171.2 kB / 4.267 GB, free: 98.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/9.189, allocations: 0.791 MB / 4.268 GB, free: 97.61 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.019e-05/9.189, allocations: 29.7 kB / 4.268 GB, free: 97.58 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/9.189, allocations: 0.5304 MB / 4.268 GB, free: 97.04 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/9.189, allocations: 390.1 kB / 4.269 GB, free: 96.65 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/9.189, allocations: 0 / 4.269 GB, free: 96.65 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001145/9.189, allocations: 357.9 kB / 4.269 GB, free: 96.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/9.19, allocations: 486.5 kB / 4.269 GB, free: 95.82 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007498/9.191, allocations: 0.8057 MB / 4.27 GB, free: 94.88 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: 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.01897/9.21, allocations: 4.17 MB / 4.274 GB, free: 90.66 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/9.21, allocations: 4 kB / 4.274 GB, free: 90.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002281/9.212, allocations: 1.431 MB / 4.276 GB, free: 89.22 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/9.212, allocations: 8 kB / 4.276 GB, free: 89.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/9.212, allocations: 8.906 kB / 4.276 GB, free: 89.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/9.212, allocations: 16 kB / 4.276 GB, free: 89.19 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/9.213, allocations: 279.5 kB / 4.276 GB, free: 88.92 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/9.213, allocations: 19.98 kB / 4.276 GB, free: 88.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/9.215, allocations: 75.69 kB / 4.276 GB, free: 88.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/9.215, allocations: 67.97 kB / 4.276 GB, free: 88.76 MB / 1.151 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.0002837/9.216, allocations: 154.9 kB / 4.276 GB, free: 88.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/9.216, allocations: 142.3 kB / 4.276 GB, free: 88.46 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/9.218, allocations: 1.173 MB / 4.278 GB, free: 87.28 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/9.218, allocations: 12 kB / 4.278 GB, free: 87.27 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/9.218, allocations: 4 kB / 4.278 GB, free: 87.26 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/9.219, allocations: 1.164 MB / 4.279 GB, free: 86.03 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005781/9.225, allocations: 3.497 MB / 4.282 GB, free: 82.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/9.225, allocations: 15.94 kB / 4.282 GB, free: 82.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/9.226, allocations: 244.5 kB / 4.282 GB, free: 82.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.458e-05/9.226, allocations: 16 kB / 4.282 GB, free: 82.09 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/9.226, allocations: 31.98 kB / 4.282 GB, free: 82.06 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.799e-05/9.226, allocations: 23.84 kB / 4.282 GB, free: 82.04 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/9.226, allocations: 19.92 kB / 4.283 GB, free: 82.02 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002884/9.229, allocations: 2.572 MB / 4.285 GB, free: 79.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003839/9.233, allocations: 3.687 MB / 4.289 GB, free: 75.06 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008362/9.234, allocations: 331.3 kB / 4.289 GB, free: 74.71 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/9.234, allocations: 19.98 kB / 4.289 GB, free: 74.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/9.235, allocations: 82.53 kB / 4.289 GB, free: 74.62 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/9.236, allocations: 88.34 kB / 4.289 GB, free: 74.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-05/9.236, allocations: 51.98 kB / 4.289 GB, free: 74.48 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008065/9.236, allocations: 0.5923 MB / 4.29 GB, free: 73.88 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002975/9.239, allocations: 0.7739 MB / 4.29 GB, free: 73.11 MB / 1.151 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.00262/9.242, allocations: 2.33 MB / 4.293 GB, free: 70.66 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001748/9.244, allocations: 1.131 MB / 4.294 GB, free: 69.53 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/9.244, allocations: 6.062 kB / 4.294 GB, free: 69.53 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006041/9.244, allocations: 0.52 MB / 4.294 GB, free: 69.01 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/9.248, allocations: 0.6802 MB / 4.295 GB, free: 68.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/9.253, allocations: 2.765 MB / 4.298 GB, free: 65.39 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001277/9.254, allocations: 1.562 MB / 4.299 GB, free: 63.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.173e-06/9.254, allocations: 3.391 kB / 4.299 GB, free: 63.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)