Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001031/0.001031, allocations: 102.6 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.001477/0.001478, allocations: 172.9 kB / 16.58 MB, free: 6.398 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.555/1.555, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.103/1.103, allocations: 143.4 MB / 435.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 12 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2206, allocations: 83.41 MB / 0.5981 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6043/0.825, allocations: 177.6 MB / 0.7715 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01767/0.8427, allocations: 13.31 MB / 0.7845 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.8442, allocations: 31.81 kB / 0.7845 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.8455, allocations: 349.8 kB / 0.7849 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00442/0.85, allocations: 1.372 MB / 0.7862 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.8526, allocations: 0.663 MB / 0.7869 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003937/0.8565, allocations: 3.048 MB / 0.7898 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.8578, allocations: 0.8147 MB / 0.7906 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.8606, allocations: 1.214 MB / 0.7918 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.8621, allocations: 0.8835 MB / 0.7927 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.8623, allocations: 52 kB / 0.7927 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.864, allocations: 0.5612 MB / 0.7933 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004719/0.8645, allocations: 446.8 kB / 0.7937 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.8649, allocations: 257.1 kB / 0.794 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.8665, allocations: 1.426 MB / 0.7953 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.8665, allocations: 0 / 0.7953 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8665, allocations: 0 / 0.7953 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.8666, allocations: 0 / 0.7953 GB, free: 2.066 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.002003/0.8686, allocations: 1.238 MB / 0.7966 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.8686, allocations: 12.03 kB / 0.7966 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.8699, allocations: 254.3 kB / 0.7968 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.8714, allocations: 0.8252 MB / 0.7976 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.796e-05/0.8715, allocations: 70 kB / 0.7977 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.8716, allocations: 104 kB / 0.7978 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.8733, allocations: 1.165 MB / 0.7989 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.8733, allocations: 4 kB / 0.7989 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.162e-05/0.8734, allocations: 36 kB / 0.799 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.8735, allocations: 34 kB / 0.799 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.8749, allocations: 0.9054 MB / 0.7999 GB, free: 13.27 MB / 0.6231 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.005317/0.8802, allocations: 5.747 MB / 0.8055 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000862/0.8811, allocations: 0.5618 MB / 0.806 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004428/0.8815, allocations: 340.8 kB / 0.8064 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005844/0.8821, allocations: 327.7 kB / 0.8067 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.8822, allocations: 39 kB / 0.8067 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 3.056e-06/0.8822, allocations: 0 / 0.8067 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.001573/0.8837, allocations: 0.8338 MB / 0.8075 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.8838, allocations: 81.55 kB / 0.8076 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008735/0.8847, allocations: 0.7431 MB / 0.8083 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.8848, allocations: 37.7 kB / 0.8084 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.8851, allocations: 0.5027 MB / 0.8089 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.8853, allocations: 189.3 kB / 0.809 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.8853, allocations: 12 kB / 0.809 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8855, allocations: 342 kB / 0.8094 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.8859, allocations: 253.8 kB / 0.8096 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.8865, allocations: 0.573 MB / 0.8102 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005291/0.887, allocations: 364.6 kB / 0.8105 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.887, allocations: 3.938 kB / 0.8105 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001236/0.8883, allocations: 0.8501 MB / 0.8114 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.8883, allocations: 12 kB / 0.8114 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.8883, allocations: 8 kB / 0.8114 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.8884, allocations: 19.89 kB / 0.8114 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.8889, allocations: 156.5 kB / 0.8115 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.975e-05/0.889, allocations: 23.92 kB / 0.8116 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/0.8898, allocations: 147 kB / 0.8117 GB, free: 408 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.8899, allocations: 36.86 kB / 0.8117 GB, free: 372 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * 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.000463/0.8904, allocations: 329.5 kB / 0.8121 GB, free: 32 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.8905, allocations: 90.92 kB / 0.8121 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.8916, allocations: 0.6335 MB / 0.8128 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.8916, allocations: 11.95 kB / 0.8128 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.8916, allocations: 2.062 kB / 0.8128 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006904/0.8923, allocations: 0.5212 MB / 0.8133 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.8948, allocations: 1.77 MB / 0.815 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.8948, allocations: 8.234 kB / 0.815 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.8953, allocations: 115.8 kB / 0.8151 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.8953, allocations: 4 kB / 0.8151 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.8954, allocations: 15.92 kB / 0.8151 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.8954, allocations: 4 kB / 0.8152 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8954, allocations: 4 kB / 0.8152 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.8967, allocations: 1.049 MB / 0.8162 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.8971, allocations: 235.8 kB / 0.8164 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.8972, allocations: 12 kB / 0.8164 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005225/0.8977, allocations: 63.94 kB / 0.8165 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.8978, allocations: 35.89 kB / 0.8165 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.8978, allocations: 20.88 kB / 0.8165 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006234/0.8985, allocations: 0.5107 MB / 0.817 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.473e-06/0.8985, allocations: 0 / 0.817 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009367/0.8994, allocations: 307.2 kB / 0.8173 GB, free: 10.48 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * 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 Backend phase and start with SimCode phase: time 0.0005173/0.8999, allocations: 223.3 kB / 0.8175 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009525/0.9009, allocations: 0.6201 MB / 0.8181 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9009, allocations: 3.938 kB / 0.8181 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.9013, allocations: 287.6 kB / 0.8184 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.9032, allocations: 435.6 kB / 0.8188 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.9065, allocations: 2.494 MB / 0.8213 GB, free: 6.414 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.9072, allocations: 1.118 MB / 0.8224 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.9074, allocations: 87.41 kB / 0.8224 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.9074, allocations: 0 / 0.8224 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of Templates: time 0.02332/0.9307, allocations: 14.99 MB / 0.8371 GB, free: 6.344 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstances.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o] Error 1