Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01407/0.01407, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002636/0.002636, allocations: 190.2 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.823/2.823, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00397/0.00397, allocations: 282.3 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.694/1.694, allocations: 169.2 MB / 0.4984 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002835/0.002836, allocations: 91.89 kB / 0.5951 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3633, allocations: 86.99 MB / 0.6801 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 1.268/1.631, allocations: 192.8 MB / 0.8684 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.033/1.665, allocations: 14.39 MB / 0.8825 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/1.667, allocations: 42.12 kB / 0.8825 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002871/1.67, allocations: 414.3 kB / 0.8829 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009584/1.68, allocations: 1.775 MB / 0.8846 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004449/1.685, allocations: 0.7668 MB / 0.8854 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007267/1.692, allocations: 3.625 MB / 0.8889 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/1.694, allocations: 0.9452 MB / 0.8898 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007769/1.702, allocations: 1.438 MB / 0.8913 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003732/1.706, allocations: 0.9684 MB / 0.8922 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004749/1.706, allocations: 60.44 kB / 0.8923 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005813/1.712, allocations: 1.256 MB / 0.8935 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/1.713, allocations: 464.2 kB / 0.8939 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/1.715, allocations: 0.5899 MB / 0.8945 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003329/1.719, allocations: 1.429 MB / 0.8959 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.719, allocations: 0 / 0.8959 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/1.719, allocations: 0 / 0.8959 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.545e-05/1.719, allocations: 4 kB / 0.8959 GB, free: 10.54 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004173/1.723, allocations: 1.451 MB / 0.8973 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.115e-05/1.723, allocations: 8.031 kB / 0.8973 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/1.726, allocations: 250.4 kB / 0.8976 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/1.729, allocations: 0.7569 MB / 0.8983 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.653e-05/1.729, allocations: 74 kB / 0.8984 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002374/1.729, allocations: 92 kB / 0.8985 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003312/1.732, allocations: 1.165 MB / 0.8996 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.153e-05/1.732, allocations: 7.922 kB / 0.8996 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/1.732, allocations: 44 kB / 0.8996 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-05/1.733, allocations: 33.94 kB / 0.8997 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002505/1.735, allocations: 0.9054 MB / 0.9006 GB, free: 5.984 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.009824/1.745, allocations: 5.727 MB / 0.9062 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/1.746, allocations: 0.5361 MB / 0.9067 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000752/1.747, allocations: 318.6 kB / 0.907 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009546/1.748, allocations: 307.7 kB / 0.9073 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/1.748, allocations: 43 kB / 0.9073 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 4.428e-06/1.748, allocations: 0 / 0.9073 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.00271/1.751, allocations: 0.7987 MB / 0.9081 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/1.751, allocations: 59.83 kB / 0.9082 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/1.753, allocations: 0.7471 MB / 0.9089 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/1.753, allocations: 37.7 kB / 0.9089 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006157/1.753, allocations: 0.5142 MB / 0.9094 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/1.754, allocations: 173.5 kB / 0.9096 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/1.754, allocations: 146.5 kB / 0.9097 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.754, allocations: 337.9 kB / 0.9101 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/1.755, allocations: 245.8 kB / 0.9103 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009747/1.756, allocations: 0.5594 MB / 0.9108 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/1.758, allocations: 0.8073 MB / 0.9116 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/1.758, allocations: 4 kB / 0.9116 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002572/1.76, allocations: 0.8429 MB / 0.9124 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/1.76, allocations: 8 kB / 0.9125 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/1.76, allocations: 11.98 kB / 0.9125 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.134e-05/1.761, allocations: 19.97 kB / 0.9125 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.762, allocations: 151.8 kB / 0.9126 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.34e-05/1.762, allocations: 15.94 kB / 0.9126 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/1.764, allocations: 143.1 kB / 0.9128 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/1.764, allocations: 39.98 kB / 0.9128 GB, free: 8.594 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0009079/1.765, allocations: 326.7 kB / 0.9131 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004077/1.765, allocations: 90.95 kB / 0.9132 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/1.767, allocations: 0.6218 MB / 0.9138 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/1.767, allocations: 4 kB / 0.9138 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.767, allocations: 0 / 0.9138 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/1.769, allocations: 0.525 MB / 0.9143 GB, free: 7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004944/1.773, allocations: 1.663 MB / 0.916 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.774, allocations: 8.062 kB / 0.916 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009011/1.774, allocations: 111.8 kB / 0.9161 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.179e-05/1.774, allocations: 7.984 kB / 0.9161 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/1.775, allocations: 16 kB / 0.9161 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/1.775, allocations: 4 kB / 0.9161 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.775, allocations: 0 / 0.9161 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/1.777, allocations: 1.015 MB / 0.9171 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008321/1.778, allocations: 227.9 kB / 0.9173 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/1.778, allocations: 12 kB / 0.9173 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.78, allocations: 67.88 kB / 0.9174 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/1.78, allocations: 31.91 kB / 0.9174 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/1.78, allocations: 19.98 kB / 0.9174 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001481/1.781, allocations: 0.5107 MB / 0.9179 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.91e-07/1.781, allocations: 3.938 kB / 0.9179 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00195/1.783, allocations: 303.3 kB / 0.9182 GB, free: 2.879 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.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 (49): * Single equations (assignments): 49 * 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.0008902/1.784, allocations: 212.3 kB / 0.9184 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001788/1.786, allocations: 0.6081 MB / 0.919 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.786, allocations: 4.062 kB / 0.919 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006782/1.787, allocations: 267.7 kB / 0.9193 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004002/1.791, allocations: 440.9 kB / 0.9197 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0062/1.797, allocations: 2.395 MB / 0.922 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/1.798, allocations: 1.122 MB / 0.9231 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/1.799, allocations: 79.42 kB / 0.9232 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of SimCode: time 1.342e-06/1.799, allocations: 3.938 kB / 0.9232 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of Templates: time 0.7137/2.513, allocations: 14.63 MB / 0.9375 GB, free: 15.22 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.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 OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o] Error 1