Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005856/0.005856, allocations: 100.8 kB / 15.87 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 194.6 kB / 16.79 MB, free: 6.254 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7853/0.7853, allocations: 132.2 MB / 422.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 58.56 kB / 0.5017 GB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1515, allocations: 80.21 MB / 0.58 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5147/0.6663, allocations: 185 MB / 0.7607 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.6809, allocations: 13.12 MB / 0.7735 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.6825, allocations: 31.81 kB / 0.7736 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.6838, allocations: 342 kB / 0.7739 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.6867, allocations: 1.098 MB / 0.775 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.6884, allocations: 0.6328 MB / 0.7756 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00276/0.6912, allocations: 2.77 MB / 0.7783 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008762/0.692, allocations: 0.7232 MB / 0.779 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/0.6956, allocations: 1.65 MB / 0.7806 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.6971, allocations: 0.6893 MB / 0.7813 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.6972, allocations: 52 kB / 0.7813 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.6991, allocations: 0.9741 MB / 0.7823 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000356/0.6994, allocations: 358.9 kB / 0.7826 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004693/0.6999, allocations: 469.6 kB / 0.7831 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.701, allocations: 1.103 MB / 0.7841 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.701, allocations: 0 / 0.7841 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.71e-07/0.7011, allocations: 0 / 0.7841 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.7011, allocations: 0 / 0.7841 GB, free: 2.312 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001722/0.7028, allocations: 1.23 MB / 0.7853 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7029, allocations: 15.97 kB / 0.7854 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.704, allocations: 214.6 kB / 0.7856 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008601/0.7049, allocations: 0.6441 MB / 0.7862 GB, free: 120 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.7049, allocations: 58 kB / 0.7862 GB, free: 64 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.7051, allocations: 76.05 kB / 0.7863 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.7063, allocations: 0.9341 MB / 0.7872 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.7063, allocations: 4 kB / 0.7872 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.7064, allocations: 35.94 kB / 0.7873 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.7064, allocations: 29.31 kB / 0.7873 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000882/0.7073, allocations: 0.6138 MB / 0.7879 GB, free: 14.29 MB / 0.6075 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.003896/0.7112, allocations: 4.582 MB / 0.7924 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.7119, allocations: 0.5411 MB / 0.7929 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.7122, allocations: 248.8 kB / 0.7931 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.7124, allocations: 109.1 kB / 0.7932 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.7125, allocations: 38.56 kB / 0.7933 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/0.7125, allocations: 0 / 0.7933 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002533/0.715, allocations: 1.576 MB / 0.7948 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.7151, allocations: 110.8 kB / 0.7949 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007499/0.7158, allocations: 0.7193 MB / 0.7956 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.7159, allocations: 37.7 kB / 0.7957 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.7162, allocations: 423.7 kB / 0.7961 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.7163, allocations: 157.7 kB / 0.7962 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.7165, allocations: 122.2 kB / 0.7963 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.7166, allocations: 330 kB / 0.7966 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.7169, allocations: 193.1 kB / 0.7968 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.7173, allocations: 401.1 kB / 0.7972 GB, free: 4.176 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.7194, allocations: 1.176 MB / 0.7984 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7194, allocations: 0 / 0.7984 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009209/0.7203, allocations: 0.6718 MB / 0.799 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.7204, allocations: 8.094 kB / 0.799 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.7204, allocations: 8 kB / 0.799 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.7204, allocations: 12 kB / 0.799 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.7209, allocations: 123.8 kB / 0.7992 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.7209, allocations: 15.94 kB / 0.7992 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/0.7214, allocations: 51.81 kB / 0.7992 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.7215, allocations: 28 kB / 0.7992 GB, free: 1.977 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 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003315/0.7218, allocations: 273.5 kB / 0.7995 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.722, allocations: 83 kB / 0.7996 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.7222, allocations: 91.66 kB / 0.7997 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.7222, allocations: 8 kB / 0.7997 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.7222, allocations: 0 / 0.7997 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006667/0.7229, allocations: 0.696 MB / 0.8004 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.725, allocations: 1.649 MB / 0.802 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.725, allocations: 4 kB / 0.802 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004337/0.7255, allocations: 104.4 kB / 0.8021 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.7255, allocations: 15.98 kB / 0.8021 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.7255, allocations: 19.98 kB / 0.8021 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.7256, allocations: 4 kB / 0.8021 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.7256, allocations: 4 kB / 0.8021 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.7266, allocations: 0.8941 MB / 0.803 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.7269, allocations: 208.1 kB / 0.8032 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.625e-05/0.727, allocations: 16 kB / 0.8032 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004739/0.7275, allocations: 39.88 kB / 0.8032 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.7275, allocations: 39.84 kB / 0.8033 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.7276, allocations: 23.92 kB / 0.8033 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000598/0.7282, allocations: 0.5107 MB / 0.8038 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7282, allocations: 0 / 0.8038 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007371/0.7289, allocations: 208 kB / 0.804 GB, free: 12.82 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004487/0.7294, allocations: 185.8 kB / 0.8042 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007114/0.7301, allocations: 475.6 kB / 0.8046 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7301, allocations: 4 kB / 0.8046 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.7304, allocations: 210.4 kB / 0.8048 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.7323, allocations: 461.7 kB / 0.8053 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.7348, allocations: 1.988 MB / 0.8072 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.7353, allocations: 1.024 MB / 0.8082 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.7355, allocations: 71.42 kB / 0.8083 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.7355, allocations: 0 / 0.8083 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of Templates: time 0.02014/0.7556, allocations: 12.95 MB / 0.8209 GB, free: 11.55 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o] Error 1