Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.00483/0.00483, allocations: 178 kB / 7.453 MB, free: 2.527 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7226/0.7226, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.713/1.713, allocations: 221.3 MB / 395 MB, free: 10.25 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.001078/0.001078, allocations: 93.84 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.524/0.5252, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.7446, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.955/5.7, allocations: 1.885 GB / 2.518 GB, free: 63.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/5.7, allocations: 95.88 kB / 2.518 GB, free: 63.07 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 2.926/8.626, allocations: 0.7586 GB / 3.277 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/8.626, allocations: 8.656 kB / 3.277 GB, free: 85.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/8.631, allocations: 0.512 MB / 3.277 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/8.634, allocations: 1.135 MB / 3.278 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/8.635, allocations: 36 kB / 3.278 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005068/8.635, allocations: 64 kB / 3.278 GB, free: 83.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002582/8.638, allocations: 0.9609 MB / 3.279 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/8.64, allocations: 1.069 MB / 3.28 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/8.64, allocations: 3.906 kB / 3.28 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/8.641, allocations: 4 kB / 3.28 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.731e-05/8.641, allocations: 38.14 kB / 3.28 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007472/8.648, allocations: 3.982 MB / 3.284 GB, free: 77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/8.65, allocations: 0.8053 MB / 3.285 GB, free: 76.19 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005885/8.65, allocations: 449.7 kB / 3.285 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004562/8.651, allocations: 294.9 kB / 3.286 GB, free: 75.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/8.651, allocations: 48 kB / 3.286 GB, free: 75.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=83): time 2.976e-06/8.651, allocations: 4 kB / 3.286 GB, free: 75.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=89): time 0.006335/8.657, allocations: 2.154 MB / 3.288 GB, free: 73.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/8.657, allocations: 60.19 kB / 3.288 GB, free: 73.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/8.658, allocations: 0.6023 MB / 3.288 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/8.659, allocations: 25.7 kB / 3.288 GB, free: 72.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/8.659, allocations: 415.8 kB / 3.289 GB, free: 72.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/8.659, allocations: 299.5 kB / 3.289 GB, free: 71.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/8.659, allocations: 0 / 3.289 GB, free: 71.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/8.659, allocations: 345.8 kB / 3.289 GB, free: 71.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/8.66, allocations: 313.9 kB / 3.29 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/8.66, allocations: 485.8 kB / 3.29 GB, free: 70.54 MB / 0.6823 GB 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 (bou.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: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0047/8.665, allocations: 2.191 MB / 3.292 GB, free: 68.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/8.665, allocations: 4 kB / 3.292 GB, free: 68.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001588/8.667, allocations: 0.9112 MB / 3.293 GB, free: 67.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/8.667, allocations: 8 kB / 3.293 GB, free: 67.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/8.667, allocations: 0 / 3.293 GB, free: 67.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/8.667, allocations: 8 kB / 3.293 GB, free: 67.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/8.668, allocations: 187.7 kB / 3.293 GB, free: 67.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/8.668, allocations: 8 kB / 3.293 GB, free: 67.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/8.669, allocations: 56.02 kB / 3.294 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/8.669, allocations: 32 kB / 3.294 GB, free: 67.09 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: vol1.dynBal.medium.p = vol1.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.000221/8.669, allocations: 132.8 kB / 3.294 GB, free: 66.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/8.67, allocations: 106.7 kB / 3.294 GB, free: 66.84 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/8.67, allocations: 122.4 kB / 3.294 GB, free: 66.72 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/8.67, allocations: 8 kB / 3.294 GB, free: 66.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/8.67, allocations: 0.875 kB / 3.294 GB, free: 66.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/8.671, allocations: 1.036 MB / 3.295 GB, free: 65.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005151/8.677, allocations: 2.854 MB / 3.298 GB, free: 62.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/8.677, allocations: 8 kB / 3.298 GB, free: 62.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007718/8.677, allocations: 171.6 kB / 3.298 GB, free: 62.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003604/8.678, allocations: 102.2 kB / 3.298 GB, free: 62.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.257e-05/8.678, allocations: 23.98 kB / 3.298 GB, free: 62.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/8.68, allocations: 2.787 MB / 3.301 GB, free: 59.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/8.68, allocations: 15.94 kB / 3.301 GB, free: 59.28 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002461/8.683, allocations: 2.152 MB / 3.303 GB, free: 56.76 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003309/8.686, allocations: 3.108 MB / 3.306 GB, free: 53.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008307/8.687, allocations: 283.8 kB / 3.306 GB, free: 52.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/8.687, allocations: 19.89 kB / 3.306 GB, free: 52.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/8.688, allocations: 55.8 kB / 3.306 GB, free: 52.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/8.688, allocations: 68.22 kB / 3.306 GB, free: 52.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.47e-05/8.689, allocations: 47.98 kB / 3.306 GB, free: 52.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007462/8.689, allocations: 467.1 kB / 3.307 GB, free: 52.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003399/8.693, allocations: 0.6633 MB / 3.307 GB, free: 51.68 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00341/8.696, allocations: 1.873 MB / 3.309 GB, free: 49.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001511/8.698, allocations: 0.7806 MB / 3.31 GB, free: 49.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/8.698, allocations: 4 kB / 3.31 GB, free: 49.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/8.699, allocations: 0.6183 MB / 3.311 GB, free: 48.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/8.702, allocations: 0.6431 MB / 3.311 GB, free: 47.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004937/8.707, allocations: 2.219 MB / 3.313 GB, free: 45.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/8.709, allocations: 1.381 MB / 3.315 GB, free: 44.18 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/8.709, allocations: 0 / 3.315 GB, free: 44.18 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)