Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,fileNamePrefix="IDEAS_dev_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.00365/0.003651, allocations: 185.7 kB / 7.464 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7448/0.7448, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.3 MB / 395 MB, free: 10.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 94.36 kB / 477.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5065/0.5076, allocations: 88.43 MB / 0.5529 GB, free: 88.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.7057, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.5/5.206, allocations: 1.893 GB / 2.526 GB, free: 68.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/5.206, allocations: 87.48 kB / 2.526 GB, free: 68.56 MB / 0.6823 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.043/9.249, allocations: 1.101 GB / 3.626 GB, free: 13.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/9.249, allocations: 12 kB / 3.627 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004988/9.254, allocations: 0.5167 MB / 3.627 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005718/9.26, allocations: 1.586 MB / 3.629 GB, free: 11.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/9.26, allocations: 44 kB / 3.629 GB, free: 11.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/9.261, allocations: 91.91 kB / 3.629 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002586/9.263, allocations: 1.232 MB / 3.63 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/9.266, allocations: 1.506 MB / 3.631 GB, free: 8.617 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/9.266, allocations: 3.938 kB / 3.631 GB, free: 8.613 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/9.266, allocations: 8 kB / 3.631 GB, free: 8.605 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.595e-05/9.266, allocations: 50.55 kB / 3.631 GB, free: 8.555 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/9.278, allocations: 7.15 MB / 3.638 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/9.279, allocations: 0.7431 MB / 3.639 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4521/9.731, allocations: 0.6555 MB / 3.64 GB, free: 165.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003676/9.732, allocations: 113.2 kB / 3.64 GB, free: 165.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/9.732, allocations: 50.59 kB / 3.64 GB, free: 165.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=106): time 3.968e-06/9.732, allocations: 0 / 3.64 GB, free: 165.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=112): time 0.007137/9.739, allocations: 3.634 MB / 3.643 GB, free: 164.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/9.739, allocations: 168.5 kB / 3.644 GB, free: 164.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/9.74, allocations: 0.7909 MB / 3.644 GB, free: 164 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/9.74, allocations: 29.17 kB / 3.644 GB, free: 163.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/9.74, allocations: 0.5253 MB / 3.645 GB, free: 163.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/9.741, allocations: 387.1 kB / 3.645 GB, free: 163.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/9.741, allocations: 3.844 kB / 3.645 GB, free: 163.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001163/9.741, allocations: 356 kB / 3.646 GB, free: 163.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006803/9.742, allocations: 486.3 kB / 3.646 GB, free: 163.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/9.743, allocations: 0.8036 MB / 3.647 GB, free: 162.8 MB / 0.698 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.01881/9.761, allocations: 4.145 MB / 3.651 GB, free: 162.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/9.761, allocations: 0 / 3.651 GB, free: 162.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002492/9.764, allocations: 1.434 MB / 3.652 GB, free: 162.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/9.764, allocations: 3.094 kB / 3.652 GB, free: 162.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/9.764, allocations: 9.75 kB / 3.652 GB, free: 162.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/9.764, allocations: 21.28 kB / 3.652 GB, free: 162.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/9.765, allocations: 275.5 kB / 3.653 GB, free: 162.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/9.765, allocations: 29.39 kB / 3.653 GB, free: 162.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/9.767, allocations: 57 kB / 3.653 GB, free: 162.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/9.767, allocations: 61.34 kB / 3.653 GB, free: 162.4 MB / 0.698 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.0003033/9.767, allocations: 152.8 kB / 3.653 GB, free: 162.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/9.768, allocations: 144.2 kB / 3.653 GB, free: 162.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/9.77, allocations: 1.165 MB / 3.654 GB, free: 162.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/9.77, allocations: 10.38 kB / 3.654 GB, free: 162.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/9.77, allocations: 3.906 kB / 3.654 GB, free: 162.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001352/9.771, allocations: 1.156 MB / 3.655 GB, free: 161.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005984/9.777, allocations: 3.504 MB / 3.659 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/9.777, allocations: 9.781 kB / 3.659 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/9.778, allocations: 255.3 kB / 3.659 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-05/9.778, allocations: 16.19 kB / 3.659 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/9.778, allocations: 27.89 kB / 3.659 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.767e-05/9.778, allocations: 17.12 kB / 3.659 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/9.778, allocations: 16.77 kB / 3.659 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002694/9.781, allocations: 2.675 MB / 3.662 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004863/9.786, allocations: 3.814 MB / 3.665 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/9.787, allocations: 336 kB / 3.666 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/9.787, allocations: 16.41 kB / 3.666 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/9.789, allocations: 74.48 kB / 3.666 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/9.789, allocations: 92.88 kB / 3.666 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.945e-05/9.789, allocations: 54.02 kB / 3.666 GB, free: 157.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0009168/9.79, allocations: 0.5872 MB / 3.667 GB, free: 157.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003105/9.793, allocations: 0.7818 MB / 3.667 GB, free: 157.6 MB / 0.698 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.003161/9.796, allocations: 2.318 MB / 3.67 GB, free: 156.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001896/9.798, allocations: 1.141 MB / 3.671 GB, free: 156.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/9.798, allocations: 7 kB / 3.671 GB, free: 156.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000645/9.799, allocations: 0.5136 MB / 3.671 GB, free: 156.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003352/9.802, allocations: 0.6794 MB / 3.672 GB, free: 156.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/9.807, allocations: 2.734 MB / 3.675 GB, free: 156 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/9.809, allocations: 1.556 MB / 3.676 GB, free: 155.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/9.809, allocations: 0 / 3.676 GB, free: 155.3 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.pipe 2>&1)