Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",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.003764/0.003764, allocations: 181.4 kB / 7.459 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7701/0.7701, allocations: 133.5 MB / 141.4 MB, free: 15.76 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.691/1.691, allocations: 221.3 MB / 395 MB, free: 10.21 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.001081/0.001081, allocations: 86.55 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4418/0.4429, allocations: 88.44 MB / 0.5529 GB, free: 88.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.6229, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.528/5.151, allocations: 1.894 GB / 2.527 GB, free: 66.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/5.152, allocations: 87.95 kB / 2.527 GB, free: 66.36 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 4.746/9.898, allocations: 1.358 GB / 3.885 GB, free: 36.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/9.898, allocations: 11.94 kB / 3.885 GB, free: 36.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/9.902, allocations: 0.5359 MB / 3.886 GB, free: 36.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/9.905, allocations: 1.449 MB / 3.887 GB, free: 34.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/9.906, allocations: 130.1 kB / 3.887 GB, free: 34.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/9.906, allocations: 88 kB / 3.887 GB, free: 34.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002087/9.908, allocations: 1.228 MB / 3.888 GB, free: 33.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/9.91, allocations: 1.475 MB / 3.89 GB, free: 31.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/9.91, allocations: 4 kB / 3.89 GB, free: 31.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/9.91, allocations: 7.844 kB / 3.89 GB, free: 31.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/9.91, allocations: 62.69 kB / 3.89 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008768/9.919, allocations: 8.231 MB / 3.898 GB, free: 22.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/9.92, allocations: 0.5487 MB / 3.898 GB, free: 22.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005729/9.92, allocations: 0.4903 MB / 3.899 GB, free: 21.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006032/9.921, allocations: 409.1 kB / 3.899 GB, free: 21.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/9.921, allocations: 47.25 kB / 3.899 GB, free: 21.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=96): time 4.118e-06/9.921, allocations: 0 / 3.899 GB, free: 21.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.005894/9.927, allocations: 2.65 MB / 3.902 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/9.927, allocations: 64.41 kB / 3.902 GB, free: 18.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/9.928, allocations: 0.8945 MB / 3.903 GB, free: 17.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.034e-05/9.928, allocations: 29.7 kB / 3.903 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/9.928, allocations: 0.5936 MB / 3.903 GB, free: 16.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/9.929, allocations: 350.8 kB / 3.904 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/9.929, allocations: 0 / 3.904 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/9.929, allocations: 353.9 kB / 3.904 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/9.929, allocations: 390.5 kB / 3.905 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/9.93, allocations: 0.7721 MB / 3.905 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007801/9.931, allocations: 0.571 MB / 3.906 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/9.931, allocations: 4 kB / 3.906 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001752/9.932, allocations: 1.279 MB / 3.907 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006409/9.933, allocations: 3.635 MB / 3.911 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/9.933, allocations: 8 kB / 3.911 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/9.933, allocations: 16 kB / 3.911 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/9.934, allocations: 291.5 kB / 3.911 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/9.934, allocations: 19.94 kB / 3.911 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/9.936, allocations: 147.5 kB / 3.911 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/9.936, allocations: 55.98 kB / 3.911 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/9.936, allocations: 4 kB / 3.911 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001529/9.938, allocations: 1.088 MB / 3.912 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/9.938, allocations: 8 kB / 3.912 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/9.938, allocations: 16 kB / 3.912 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/9.939, allocations: 276 kB / 3.913 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/9.939, allocations: 27.83 kB / 3.913 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/9.941, allocations: 147.5 kB / 3.913 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-05/9.941, allocations: 63.91 kB / 3.913 GB, free: 6.852 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0002479/9.941, allocations: 132.7 kB / 3.913 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/9.941, allocations: 158.1 kB / 3.913 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/9.943, allocations: 1.077 MB / 3.914 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/9.943, allocations: 15.94 kB / 3.914 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/9.943, allocations: 3.906 kB / 3.914 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/9.944, allocations: 1.03 MB / 3.915 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/9.948, allocations: 2.544 MB / 3.918 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/9.948, allocations: 4 kB / 3.918 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/9.95, allocations: 255.9 kB / 3.918 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/9.95, allocations: 11.98 kB / 3.918 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.46e-05/9.95, allocations: 12 kB / 3.918 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/9.95, allocations: 4 kB / 3.918 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/9.95, allocations: 15.89 kB / 3.918 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002258/9.952, allocations: 1.815 MB / 3.92 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004306/9.956, allocations: 2.951 MB / 3.923 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009909/9.957, allocations: 331.1 kB / 3.923 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/9.958, allocations: 7.75 kB / 3.923 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/9.959, allocations: 135.6 kB / 3.923 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/9.959, allocations: 60.69 kB / 3.923 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.508e-05/9.959, allocations: 35.98 kB / 3.923 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001141/9.961, allocations: 0.6683 MB / 3.924 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006108/9.967, allocations: 1.695 MB / 3.925 GB, free: 9.551 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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.005184/9.972, allocations: 3.353 MB / 3.929 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002994/9.975, allocations: 1.615 MB / 3.93 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/9.975, allocations: 0 / 3.93 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007818/9.976, allocations: 478.7 kB / 3.931 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005159/9.981, allocations: 0.8303 MB / 3.932 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006226/9.987, allocations: 2.783 MB / 3.934 GB, free: 156 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4798/10.47, allocations: 1.636 MB / 3.936 GB, free: 137.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.844e-06/10.47, allocations: 3.969 kB / 3.936 GB, free: 137.7 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)