Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 185.6 kB / 7.461 MB, free: 1.539 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9286/0.9286, allocations: 133.5 MB / 141.4 MB, free: 4.844 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.3 MB / 395 MB, free: 13.73 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 94.58 kB / 477.8 MB, free: 11.03 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3675/0.3686, allocations: 88.44 MB / 0.5529 GB, free: 49.86 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5568/0.9254, allocations: 82.29 MB / 0.6333 GB, free: 5.633 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.827/5.753, allocations: 1.893 GB / 2.526 GB, free: 262 MB / 0.6902 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/5.753, allocations: 85.34 kB / 2.526 GB, free: 262 MB / 0.6902 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.354/10.11, allocations: 1.101 GB / 3.626 GB, free: 101.5 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/10.11, allocations: 11.34 kB / 3.626 GB, free: 101.5 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004999/10.11, allocations: 0.5238 MB / 3.627 GB, free: 101.4 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006444/10.12, allocations: 1.591 MB / 3.629 GB, free: 101.1 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/10.12, allocations: 48.06 kB / 3.629 GB, free: 101.1 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007319/10.12, allocations: 95.19 kB / 3.629 GB, free: 101.1 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00318/10.12, allocations: 1.232 MB / 3.63 GB, free: 101.1 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/10.13, allocations: 1.504 MB / 3.631 GB, free: 100.8 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.824e-05/10.13, allocations: 10.16 kB / 3.631 GB, free: 100.8 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/10.13, allocations: 3.938 kB / 3.631 GB, free: 100.8 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.74e-05/10.13, allocations: 46.73 kB / 3.631 GB, free: 100.8 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/10.14, allocations: 7.157 MB / 3.638 GB, free: 96.81 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/10.14, allocations: 0.7403 MB / 3.639 GB, free: 96.7 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009678/10.14, allocations: 0.6486 MB / 3.64 GB, free: 96.65 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/10.14, allocations: 111.1 kB / 3.64 GB, free: 96.55 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/10.14, allocations: 60.22 kB / 3.64 GB, free: 96.52 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=106): time 2.905e-06/10.14, allocations: 0 / 3.64 GB, free: 96.52 MB / 0.7058 GB Notification: Performance of matching and sorting (n=112): time 0.01095/10.15, allocations: 3.627 MB / 3.643 GB, free: 95.26 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/10.15, allocations: 170.1 kB / 3.644 GB, free: 95.07 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/10.16, allocations: 0.7948 MB / 3.644 GB, free: 94.93 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 0.0002141/10.16, allocations: 29.3 kB / 3.644 GB, free: 94.89 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005542/10.16, allocations: 0.528 MB / 3.645 GB, free: 94.66 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006577/10.16, allocations: 389.8 kB / 3.645 GB, free: 94.45 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/10.16, allocations: 0 / 3.645 GB, free: 94.45 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 0.0001783/10.16, allocations: 358.5 kB / 3.646 GB, free: 94.15 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009087/10.16, allocations: 487.7 kB / 3.646 GB, free: 94.15 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/10.16, allocations: 0.8038 MB / 3.647 GB, free: 93.79 MB / 0.7058 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.02059/10.18, allocations: 4.129 MB / 3.651 GB, free: 93.47 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/10.18, allocations: 3.844 kB / 3.651 GB, free: 93.47 MB / 0.7058 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003172/10.18, allocations: 1.429 MB / 3.652 GB, free: 93.35 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/10.18, allocations: 9.125 kB / 3.652 GB, free: 93.35 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/10.18, allocations: 7.156 kB / 3.652 GB, free: 93.35 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.894e-05/10.18, allocations: 19.06 kB / 3.652 GB, free: 93.35 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/10.18, allocations: 278 kB / 3.653 GB, free: 93.35 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.417e-05/10.18, allocations: 25.66 kB / 3.653 GB, free: 93.35 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/10.19, allocations: 65.67 kB / 3.653 GB, free: 93.34 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/10.19, allocations: 63.38 kB / 3.653 GB, free: 93.34 MB / 0.7058 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.000411/10.19, allocations: 143.5 kB / 3.653 GB, free: 93.23 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006217/10.19, allocations: 139.8 kB / 3.653 GB, free: 93.16 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/10.19, allocations: 1.171 MB / 3.654 GB, free: 93.08 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/10.19, allocations: 14.28 kB / 3.654 GB, free: 93.08 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/10.19, allocations: 0 / 3.654 GB, free: 93.08 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/10.19, allocations: 1.157 MB / 3.655 GB, free: 92.72 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007272/10.2, allocations: 3.497 MB / 3.659 GB, free: 91.78 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/10.2, allocations: 16.84 kB / 3.659 GB, free: 91.78 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/10.2, allocations: 251.2 kB / 3.659 GB, free: 91.78 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-05/10.2, allocations: 17.66 kB / 3.659 GB, free: 91.78 MB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/10.2, allocations: 24.39 kB / 3.659 GB, free: 91.78 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-05/10.2, allocations: 19.41 kB / 3.659 GB, free: 91.78 MB / 0.7058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.37e-05/10.2, allocations: 14.81 kB / 3.659 GB, free: 91.78 MB / 0.7058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003078/10.2, allocations: 2.679 MB / 3.662 GB, free: 90.48 MB / 0.7058 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005315/10.21, allocations: 3.82 MB / 3.665 GB, free: 88.78 MB / 0.7058 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/10.21, allocations: 335.2 kB / 3.666 GB, free: 88.61 MB / 0.7058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004798/10.21, allocations: 20.69 kB / 3.666 GB, free: 88.61 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/10.21, allocations: 71.97 kB / 3.666 GB, free: 88.61 MB / 0.7058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/10.21, allocations: 91.64 kB / 3.666 GB, free: 88.6 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/10.21, allocations: 51.12 kB / 3.666 GB, free: 88.6 MB / 0.7058 GB Notification: Performance of sort global known variables: time 0.001193/10.21, allocations: 0.5883 MB / 3.667 GB, free: 88.49 MB / 0.7058 GB Notification: Performance of remove unused functions: time 0.00446/10.22, allocations: 0.7749 MB / 3.667 GB, free: 88.49 MB / 0.7058 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.004123/10.22, allocations: 2.326 MB / 3.67 GB, free: 87.83 MB / 0.7058 GB Notification: Performance of simCode: created initialization part: time 0.00236/10.23, allocations: 1.134 MB / 3.671 GB, free: 87.81 MB / 0.7058 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/10.23, allocations: 2.438 kB / 3.671 GB, free: 87.81 MB / 0.7058 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/10.23, allocations: 0.5228 MB / 3.671 GB, free: 87.81 MB / 0.7058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005361/10.23, allocations: 0.6912 MB / 3.672 GB, free: 87.79 MB / 0.7058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008441/10.24, allocations: 2.735 MB / 3.675 GB, free: 86.87 MB / 0.7058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002983/10.24, allocations: 1.558 MB / 3.676 GB, free: 86.15 MB / 0.7058 GB Notification: Performance of SimCode: time 3.386e-06/10.24, allocations: 0 / 3.676 GB, free: 86.15 MB / 0.7058 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)