Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001032, allocations: 101.9 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 181.5 kB / 16.59 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9609/0.9609, allocations: 135.3 MB / 427 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 11.94 kB / 0.5076 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1891, allocations: 82.31 MB / 0.588 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6061/0.7952, allocations: 173.3 MB / 0.7572 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009818/0.8051, allocations: 5.38 MB / 0.7624 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/0.8067, allocations: 35.75 kB / 0.7625 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.8082, allocations: 397.5 kB / 0.7629 GB, free: 9.93 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004455/0.8126, allocations: 1.357 MB / 0.7642 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.8156, allocations: 0.8516 MB / 0.765 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004857/0.8204, allocations: 3.446 MB / 0.7684 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.8219, allocations: 0.8036 MB / 0.7692 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002099/0.824, allocations: 0.8868 MB / 0.77 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.8259, allocations: 0.9068 MB / 0.7709 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.8261, allocations: 48 kB / 0.771 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.8292, allocations: 0.7015 MB / 0.7716 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007728/0.83, allocations: 498.6 kB / 0.7721 GB, free: 428 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006617/0.8307, allocations: 281.1 kB / 0.7724 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.8335, allocations: 1.633 MB / 0.774 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.021e-05/0.8335, allocations: 4 kB / 0.774 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.266e-06/0.8335, allocations: 0 / 0.774 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.8336, allocations: 4 kB / 0.774 GB, free: 14.49 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002483/0.8361, allocations: 1.386 MB / 0.7753 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.8361, allocations: 11.97 kB / 0.7754 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.838, allocations: 322.2 kB / 0.7757 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.8394, allocations: 0.8479 MB / 0.7765 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/0.8395, allocations: 78 kB / 0.7766 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.8396, allocations: 96 kB / 0.7767 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.8415, allocations: 1.083 MB / 0.7777 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.8415, allocations: 0 / 0.7777 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.6e-05/0.8416, allocations: 44 kB / 0.7778 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.8417, allocations: 37.98 kB / 0.7778 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.8433, allocations: 0.9993 MB / 0.7788 GB, free: 9.5 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006109/0.8494, allocations: 4.255 MB / 0.7829 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008857/0.8503, allocations: 0.5943 MB / 0.7835 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005038/0.8508, allocations: 350.5 kB / 0.7838 GB, free: 4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.8511, allocations: 105.5 kB / 0.7839 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.8511, allocations: 39 kB / 0.784 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.775e-06/0.8511, allocations: 0 / 0.784 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004354/0.8555, allocations: 2.223 MB / 0.7861 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.8555, allocations: 55.97 kB / 0.7862 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.8566, allocations: 0.8804 MB / 0.7871 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/0.8567, allocations: 37.7 kB / 0.7871 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.8571, allocations: 0.5148 MB / 0.7876 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.8573, allocations: 197.1 kB / 0.7878 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.8573, allocations: 12 kB / 0.7878 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8575, allocations: 337.7 kB / 0.7881 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/0.8579, allocations: 289.8 kB / 0.7884 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.8585, allocations: 450.6 kB / 0.7888 GB, free: 14.66 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.8613, allocations: 1.096 MB / 0.7899 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.8613, allocations: 4 kB / 0.7899 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001511/0.8628, allocations: 0.9221 MB / 0.7908 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.8628, allocations: 8 kB / 0.7908 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8629, allocations: 4 kB / 0.7908 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.8631, allocations: 98.64 kB / 0.7909 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006875/0.8638, allocations: 171.8 kB / 0.7911 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003343/0.8671, allocations: 4.282 MB / 0.7953 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.8682, allocations: 79.36 kB / 0.7953 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/0.8683, allocations: 29.12 kB / 0.7954 GB, free: 7.535 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006665/0.8689, allocations: 342.1 kB / 0.7957 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.8691, allocations: 94.88 kB / 0.7958 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.8693, allocations: 113.1 kB / 0.7959 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.8693, allocations: 19.88 kB / 0.7959 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8693, allocations: 0 / 0.7959 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001071/0.8704, allocations: 0.777 MB / 0.7967 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.8735, allocations: 1.992 MB / 0.7986 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8735, allocations: 4 kB / 0.7986 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006227/0.8741, allocations: 160.2 kB / 0.7988 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.8742, allocations: 48.77 kB / 0.7988 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.8743, allocations: 12 kB / 0.7988 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.8754, allocations: 1.476 MB / 0.8003 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/0.8754, allocations: 11.94 kB / 0.8003 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.877, allocations: 1.25 MB / 0.8015 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.8775, allocations: 247.9 kB / 0.8017 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.8776, allocations: 19.98 kB / 0.8017 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006889/0.8783, allocations: 69.25 kB / 0.8018 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.8784, allocations: 47.84 kB / 0.8019 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.8785, allocations: 35.97 kB / 0.8019 GB, free: 472 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007888/0.8793, allocations: 0.6044 MB / 0.8025 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8793, allocations: 0 / 0.8025 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001036/0.8803, allocations: 304 kB / 0.8028 GB, free: 15.56 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005192/0.8809, allocations: 202.3 kB / 0.803 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.8824, allocations: 1.006 MB / 0.8039 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.8824, allocations: 0 / 0.8039 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005927/0.883, allocations: 456 kB / 0.8044 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.8855, allocations: 0.6295 MB / 0.805 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.8892, allocations: 2.589 MB / 0.8075 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000902/0.8902, allocations: 1.163 MB / 0.8087 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.8904, allocations: 83.42 kB / 0.8087 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of SimCode: time 1.653e-06/0.8905, allocations: 0 / 0.8087 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of Templates: time 0.03857/0.929, allocations: 26.89 MB / 0.835 GB, free: 14.57 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowCalcHelperMain.o] Error 1