Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.005019/0.00502, allocations: 185.7 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7545/0.7545, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.649/1.649, allocations: 221.3 MB / 395 MB, free: 10.23 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.001192/0.001192, allocations: 102.8 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5033/0.5046, allocations: 88.42 MB / 0.5529 GB, free: 88.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.705, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.568/5.273, allocations: 1.884 GB / 2.517 GB, free: 69.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/5.274, allocations: 87.94 kB / 2.517 GB, free: 68.98 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 1.708/6.982, allocations: 372.6 MB / 2.881 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.035e-05/6.982, allocations: 11.42 kB / 2.881 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/6.983, allocations: 175.5 kB / 2.881 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/6.984, allocations: 0.5658 MB / 2.882 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/6.984, allocations: 15.38 kB / 2.882 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/6.984, allocations: 27.16 kB / 2.882 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007038/6.985, allocations: 349.9 kB / 2.882 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/6.986, allocations: 372.3 kB / 2.882 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/6.986, allocations: 0 / 2.882 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/6.986, allocations: 3.906 kB / 2.882 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/6.986, allocations: 23.75 kB / 2.882 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/6.989, allocations: 1.96 MB / 2.884 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/6.99, allocations: 171.7 kB / 2.885 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/6.99, allocations: 166.4 kB / 2.885 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/6.99, allocations: 201.4 kB / 2.885 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/6.99, allocations: 37.25 kB / 2.885 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 3.897e-06/6.99, allocations: 0 / 2.885 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.001122/6.991, allocations: 384.2 kB / 2.885 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/6.991, allocations: 58.66 kB / 2.885 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/6.992, allocations: 329 kB / 2.886 GB, free: 160 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/6.992, allocations: 25.7 kB / 2.886 GB, free: 160 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/6.992, allocations: 223 kB / 2.886 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.041e-05/6.992, allocations: 103.3 kB / 2.886 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/6.992, allocations: 0 / 2.886 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001284/6.992, allocations: 361.6 kB / 2.886 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/6.992, allocations: 112.7 kB / 2.886 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/6.993, allocations: 189.8 kB / 2.887 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/6.993, allocations: 144.6 kB / 2.887 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/6.993, allocations: 0 / 2.887 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005727/6.994, allocations: 351.2 kB / 2.887 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002356/6.994, allocations: 0.5312 MB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/6.994, allocations: 0 / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/6.994, allocations: 3.562 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/6.994, allocations: 73.75 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/6.994, allocations: 3.375 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/6.995, allocations: 56.39 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/6.995, allocations: 13.88 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/6.995, allocations: 5.219 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004215/6.995, allocations: 272.2 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/6.995, allocations: 8.875 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.012e-06/6.995, allocations: 3.938 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/6.996, allocations: 70.86 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/6.996, allocations: 3.844 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/6.996, allocations: 52.05 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/6.996, allocations: 18.16 kB / 2.888 GB, free: 158.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001097/6.996, allocations: 106.9 kB / 2.888 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.606e-05/6.996, allocations: 46.91 kB / 2.888 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/6.997, allocations: 371.3 kB / 2.889 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/6.997, allocations: 6.344 kB / 2.889 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/6.997, allocations: 3.781 kB / 2.889 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004979/6.998, allocations: 401.1 kB / 2.889 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/6.999, allocations: 1.019 MB / 2.89 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/6.999, allocations: 4.328 kB / 2.89 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/7, allocations: 61.64 kB / 2.89 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/7, allocations: 50.27 kB / 2.89 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/7, allocations: 7.281 kB / 2.89 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/7.001, allocations: 1.404 MB / 2.892 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/7.001, allocations: 5.953 kB / 2.892 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008861/7.002, allocations: 0.7386 MB / 2.892 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001436/7.004, allocations: 1.335 MB / 2.894 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/7.004, allocations: 165.6 kB / 2.894 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.129e-05/7.004, allocations: 9.344 kB / 2.894 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/7.004, allocations: 36.11 kB / 2.894 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/7.005, allocations: 22.95 kB / 2.894 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/7.005, allocations: 10.56 kB / 2.894 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003186/7.005, allocations: 262 kB / 2.894 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003328/7.008, allocations: 0.6211 MB / 2.895 GB, free: 155.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002544/7.011, allocations: 1.265 MB / 2.896 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009959/7.012, allocations: 452.8 kB / 2.896 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/7.012, allocations: 3.844 kB / 2.896 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005306/7.012, allocations: 256.1 kB / 2.897 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/7.014, allocations: 263.8 kB / 2.897 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/7.016, allocations: 0.8194 MB / 2.898 GB, free: 155 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/7.017, allocations: 0.9636 MB / 2.899 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of SimCode: time 5.51e-07/7.017, allocations: 0 / 2.899 GB, free: 154.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)