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.0007237/0.0007237, allocations: 91.92 kB / 16.02 MB, free: 80 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.0007866/0.0007866, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.346/1.346, allocations: 223.2 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 278.6 kB / 292.3 MB, free: 1.836 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9631/0.9631, allocations: 169.5 MB / 0.501 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003941, allocations: 13.31 kB / 0.5993 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1774, allocations: 88.54 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.6052/0.7827, allocations: 190.3 MB / 0.8716 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0177/0.8004, allocations: 14.22 MB / 0.8855 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.8021, allocations: 34.66 kB / 0.8855 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.8037, allocations: 417.5 kB / 0.8859 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005573/0.8093, allocations: 1.772 MB / 0.8876 GB, free: 252 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.812, allocations: 0.7789 MB / 0.8884 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004596/0.8166, allocations: 3.607 MB / 0.8919 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.8182, allocations: 0.9195 MB / 0.8928 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005243/0.8234, allocations: 1.408 MB / 0.8942 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002501/0.826, allocations: 0.9245 MB / 0.8951 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.8262, allocations: 44 kB / 0.8951 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.8293, allocations: 1.239 MB / 0.8964 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005789/0.8299, allocations: 446.7 kB / 0.8968 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000878/0.8308, allocations: 0.5809 MB / 0.8973 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.833, allocations: 1.403 MB / 0.8987 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.833, allocations: 4 kB / 0.8987 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.936e-06/0.833, allocations: 0 / 0.8987 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.833, allocations: 0 / 0.8987 GB, free: 5.84 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.002333/0.8354, allocations: 1.235 MB / 0.8999 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.8354, allocations: 8.031 kB / 0.8999 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.8368, allocations: 246.3 kB / 0.9002 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.838, allocations: 0.757 MB / 0.9009 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.8381, allocations: 74 kB / 0.901 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.8382, allocations: 99.89 kB / 0.9011 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.8402, allocations: 1.165 MB / 0.9022 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.8402, allocations: 3.938 kB / 0.9022 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/0.8403, allocations: 47.98 kB / 0.9023 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/0.8404, allocations: 37.94 kB / 0.9023 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.8418, allocations: 0.8937 MB / 0.9032 GB, free: 1.117 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.006035/0.8478, allocations: 5.739 MB / 0.9088 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009547/0.8488, allocations: 0.5361 MB / 0.9093 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.8493, allocations: 322.5 kB / 0.9096 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/0.8499, allocations: 327.7 kB / 0.9099 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.85, allocations: 39 kB / 0.91 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.495e-06/0.85, allocations: 0 / 0.91 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001488/0.8515, allocations: 0.8025 MB / 0.9107 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.8515, allocations: 59.78 kB / 0.9108 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000902/0.8525, allocations: 0.751 MB / 0.9115 GB, free: 8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.8525, allocations: 37.7 kB / 0.9116 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.8529, allocations: 0.5026 MB / 0.9121 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.8531, allocations: 177.5 kB / 0.9122 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/0.8532, allocations: 65.69 kB / 0.9123 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8533, allocations: 333.9 kB / 0.9126 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/0.8538, allocations: 253.8 kB / 0.9128 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/0.8545, allocations: 0.5546 MB / 0.9134 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.8555, allocations: 0.7995 MB / 0.9142 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8555, allocations: 0 / 0.9142 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001205/0.8567, allocations: 0.8505 MB / 0.915 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.8567, allocations: 8 kB / 0.915 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.8567, allocations: 8 kB / 0.915 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.8568, allocations: 15.98 kB / 0.915 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.8573, allocations: 151.8 kB / 0.9152 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.8573, allocations: 15.94 kB / 0.9152 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008605/0.8582, allocations: 151.2 kB / 0.9153 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.8583, allocations: 39.98 kB / 0.9154 GB, free: 3.777 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.0004406/0.8588, allocations: 326.7 kB / 0.9157 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.8589, allocations: 82.97 kB / 0.9158 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009666/0.8599, allocations: 0.6258 MB / 0.9164 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.8599, allocations: 4 kB / 0.9164 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.8599, allocations: 0 / 0.9164 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007074/0.8606, allocations: 0.5172 MB / 0.9169 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.8631, allocations: 1.678 MB / 0.9185 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8631, allocations: 0 / 0.9185 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.8636, allocations: 111.8 kB / 0.9186 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.8636, allocations: 7.984 kB / 0.9186 GB, free: 332 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.8636, allocations: 12 kB / 0.9187 GB, free: 320 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.8636, allocations: 7.938 kB / 0.9187 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.8636, allocations: 8.219 kB / 0.9187 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.8649, allocations: 1.011 MB / 0.9197 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.8653, allocations: 231.9 kB / 0.9199 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/0.8654, allocations: 16 kB / 0.9199 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/0.8659, allocations: 63.88 kB / 0.92 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.866, allocations: 27.97 kB / 0.92 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.866, allocations: 19.98 kB / 0.92 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006374/0.8667, allocations: 0.5146 MB / 0.9205 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8667, allocations: 0 / 0.9205 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008604/0.8676, allocations: 299.3 kB / 0.9208 GB, free: 14.07 MB / 0.6387 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.0004862/0.868, allocations: 206.3 kB / 0.921 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009454/0.869, allocations: 0.6147 MB / 0.9216 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.869, allocations: 0 / 0.9216 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.8694, allocations: 269.2 kB / 0.9218 GB, free: 13 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.8716, allocations: 445.7 kB / 0.9223 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.8748, allocations: 2.49 MB / 0.9247 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007028/0.8755, allocations: 1.122 MB / 0.9258 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.8757, allocations: 79.42 kB / 0.9259 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.8757, allocations: 4 kB / 0.9259 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of Templates: time 0.02191/0.8976, allocations: 14.49 MB / 0.94 GB, free: 10.44 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