Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7272/0.7272, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 185.2 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.911/1.911, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009233/0.0009233, allocations: 91.06 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3923/0.3932, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.6116, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.719/6.33, allocations: 2.162 GB / 2.783 GB, free: 176.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/6.331, allocations: 87.95 kB / 2.784 GB, free: 176.2 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 4.34/10.67, allocations: 1.089 GB / 3.873 GB, free: 54.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/10.67, allocations: 9.875 kB / 3.873 GB, free: 54.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/10.68, allocations: 0.5278 MB / 3.873 GB, free: 54.01 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006196/10.68, allocations: 1.364 MB / 3.875 GB, free: 53.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/10.68, allocations: 44.91 kB / 3.875 GB, free: 53.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008/10.68, allocations: 96.75 kB / 3.875 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003657/10.69, allocations: 1.249 MB / 3.876 GB, free: 52.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/10.69, allocations: 1.494 MB / 3.878 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.803e-05/10.69, allocations: 6.906 kB / 3.878 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/10.69, allocations: 3.875 kB / 3.878 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.792e-05/10.69, allocations: 49.89 kB / 3.878 GB, free: 52.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/10.7, allocations: 6.773 MB / 3.884 GB, free: 47.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/10.7, allocations: 0.7158 MB / 3.885 GB, free: 47.18 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/10.71, allocations: 0.63 MB / 3.886 GB, free: 46.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004839/10.71, allocations: 361.9 kB / 3.886 GB, free: 46.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/10.71, allocations: 52.83 kB / 3.886 GB, free: 46.49 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=107): time 4.438e-06/10.71, allocations: 5.188 kB / 3.886 GB, free: 46.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=113): time 0.008317/10.71, allocations: 2.742 MB / 3.889 GB, free: 45.21 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/10.72, allocations: 73.89 kB / 3.889 GB, free: 45.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/10.72, allocations: 0.7893 MB / 3.889 GB, free: 44.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002105/10.72, allocations: 27.48 kB / 3.89 GB, free: 44.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/10.72, allocations: 0.5345 MB / 3.89 GB, free: 44.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005494/10.72, allocations: 387.9 kB / 3.89 GB, free: 43.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/10.72, allocations: 0.625 kB / 3.89 GB, free: 43.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001665/10.72, allocations: 355 kB / 3.891 GB, free: 43.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/10.72, allocations: 498.6 kB / 3.891 GB, free: 43.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/10.72, allocations: 0.799 MB / 3.892 GB, free: 42.74 MB / 0.6511 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.02167/10.74, allocations: 4.185 MB / 3.896 GB, free: 39.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/10.74, allocations: 0 / 3.896 GB, free: 39.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.003268/10.75, allocations: 1.461 MB / 3.898 GB, free: 37.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/10.75, allocations: 4 kB / 3.898 GB, free: 37.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/10.75, allocations: 8 kB / 3.898 GB, free: 37.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.203e-05/10.75, allocations: 19.94 kB / 3.898 GB, free: 37.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/10.75, allocations: 287 kB / 3.898 GB, free: 37.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-05/10.75, allocations: 18.77 kB / 3.898 GB, free: 37.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/10.75, allocations: 74.77 kB / 3.898 GB, free: 37.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/10.75, allocations: 67.97 kB / 3.898 GB, free: 37.28 MB / 0.6511 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: 36 * Number of states: 0 () * Number of discrete variables: 7 (senMasFra.i_x,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 (167): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * 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.0004551/10.75, allocations: 152.7 kB / 3.898 GB, free: 37.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005792/10.75, allocations: 138.3 kB / 3.898 GB, free: 37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/10.75, allocations: 1.192 MB / 3.899 GB, free: 35.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/10.75, allocations: 14.34 kB / 3.899 GB, free: 35.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/10.75, allocations: 0 / 3.899 GB, free: 35.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001343/10.75, allocations: 1.176 MB / 3.901 GB, free: 34.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006795/10.76, allocations: 3.211 MB / 3.904 GB, free: 31.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.99e-05/10.76, allocations: 10.38 kB / 3.904 GB, free: 31.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/10.76, allocations: 251.7 kB / 3.904 GB, free: 30.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.581e-05/10.76, allocations: 23.84 kB / 3.904 GB, free: 30.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/10.76, allocations: 17.97 kB / 3.904 GB, free: 30.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.293e-05/10.76, allocations: 23.92 kB / 3.904 GB, free: 30.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.042e-05/10.76, allocations: 19.94 kB / 3.904 GB, free: 30.87 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003834/10.77, allocations: 2.618 MB / 3.907 GB, free: 27.91 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004996/10.77, allocations: 3.751 MB / 3.91 GB, free: 23.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/10.77, allocations: 345.9 kB / 3.911 GB, free: 23.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007822/10.77, allocations: 23.98 kB / 3.911 GB, free: 23.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/10.78, allocations: 83.7 kB / 3.911 GB, free: 23.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/10.78, allocations: 84.33 kB / 3.911 GB, free: 23.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/10.78, allocations: 63.97 kB / 3.911 GB, free: 23.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001253/10.78, allocations: 0.5921 MB / 3.911 GB, free: 22.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004584/10.78, allocations: 0.7819 MB / 3.912 GB, free: 21.82 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (116): * Single equations (assignments): 116 * 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.00359/10.79, allocations: 2.392 MB / 3.915 GB, free: 19.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002741/10.79, allocations: 1.166 MB / 3.916 GB, free: 18.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-05/10.79, allocations: 4 kB / 3.916 GB, free: 18.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008582/10.79, allocations: 0.5168 MB / 3.916 GB, free: 17.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004615/10.8, allocations: 0.6728 MB / 3.917 GB, free: 17.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/10.8, allocations: 2.747 MB / 3.919 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/10.8, allocations: 1.568 MB / 3.921 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/10.8, allocations: 3.938 kB / 3.921 GB, free: 12.81 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)