Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008729/0.000873, allocations: 102.7 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.001034/0.001034, allocations: 176 kB / 16.58 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.848/1.848, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005426/0.0005426, allocations: 22.17 kB / 0.6744 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3297, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 1.019/1.349, allocations: 177.6 MB / 0.9613 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02169/1.371, allocations: 13.27 MB / 0.9743 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002189/1.373, allocations: 28 kB / 0.9743 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/1.374, allocations: 349.3 kB / 0.9746 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006222/1.381, allocations: 1.366 MB / 0.976 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/1.384, allocations: 0.6623 MB / 0.9766 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005578/1.389, allocations: 3.041 MB / 0.9796 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/1.392, allocations: 0.8102 MB / 0.9804 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004962/1.397, allocations: 1.195 MB / 0.9815 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002747/1.399, allocations: 0.8921 MB / 0.9824 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005209/1.4, allocations: 49.27 kB / 0.9825 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00298/1.403, allocations: 0.5654 MB / 0.983 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/1.404, allocations: 449.4 kB / 0.9834 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/1.406, allocations: 248.8 kB / 0.9837 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003458/1.409, allocations: 1.36 MB / 0.985 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/1.409, allocations: 3.938 kB / 0.985 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.835e-06/1.409, allocations: 1.344 kB / 0.985 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.255e-05/1.409, allocations: 0 / 0.985 GB, free: 17.53 MB / 0.7325 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.003979/1.413, allocations: 1.24 MB / 0.9862 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.413, allocations: 9.469 kB / 0.9862 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/1.415, allocations: 257.6 kB / 0.9865 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/1.418, allocations: 0.8103 MB / 0.9873 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/1.418, allocations: 70.22 kB / 0.9873 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/1.418, allocations: 94.66 kB / 0.9874 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/1.42, allocations: 1.175 MB / 0.9886 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/1.42, allocations: 2.094 kB / 0.9886 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.303e-05/1.42, allocations: 36.97 kB / 0.9886 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-05/1.42, allocations: 36.06 kB / 0.9886 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/1.421, allocations: 0.9003 MB / 0.9895 GB, free: 15.48 MB / 0.7325 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.006761/1.428, allocations: 5.738 MB / 0.9951 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000807/1.429, allocations: 0.5483 MB / 0.9957 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/1.429, allocations: 338.8 kB / 0.996 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006281/1.43, allocations: 328.7 kB / 0.9963 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/1.43, allocations: 38.91 kB / 0.9963 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=51): time 4.048e-06/1.43, allocations: 0 / 0.9963 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=51): time 0.001609/1.432, allocations: 0.8211 MB / 0.9971 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/1.432, allocations: 86.52 kB / 0.9972 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000926/1.433, allocations: 0.7423 MB / 0.9979 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/1.433, allocations: 39.67 kB / 0.998 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/1.433, allocations: 0.5007 MB / 0.9985 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/1.433, allocations: 186.6 kB / 0.9986 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/1.433, allocations: 14.16 kB / 0.9987 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.434, allocations: 339.8 kB / 0.999 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/1.434, allocations: 248.1 kB / 0.9992 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006499/1.435, allocations: 0.581 MB / 0.9998 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/1.435, allocations: 356.1 kB / 1 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.435, allocations: 2.719 kB / 1 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001333/1.437, allocations: 0.8565 MB / 1.001 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/1.437, allocations: 16.3 kB / 1.001 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/1.437, allocations: 10.7 kB / 1.001 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/1.437, allocations: 12.31 kB / 1.001 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/1.437, allocations: 159.1 kB / 1.001 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/1.437, allocations: 15.55 kB / 1.001 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/1.438, allocations: 141.7 kB / 1.001 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/1.438, allocations: 41.83 kB / 1.001 GB, free: 8.309 MB / 0.7325 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.0005475/1.439, allocations: 324.5 kB / 1.002 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/1.439, allocations: 93.5 kB / 1.002 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/1.44, allocations: 0.633 MB / 1.002 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.44, allocations: 9.75 kB / 1.002 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.44, allocations: 0 / 1.002 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006892/1.441, allocations: 0.5234 MB / 1.003 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/1.444, allocations: 1.769 MB / 1.005 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.444, allocations: 0 / 1.005 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/1.444, allocations: 118.1 kB / 1.005 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.444, allocations: 5.531 kB / 1.005 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/1.444, allocations: 19.77 kB / 1.005 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.444, allocations: 1.75 kB / 1.005 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.444, allocations: 7.328 kB / 1.005 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/1.446, allocations: 1.08 MB / 1.006 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004343/1.446, allocations: 231.1 kB / 1.006 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.446, allocations: 13.03 kB / 1.006 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/1.447, allocations: 69.67 kB / 1.006 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/1.447, allocations: 42.16 kB / 1.006 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/1.447, allocations: 20.47 kB / 1.006 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008815/1.448, allocations: 0.509 MB / 1.007 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.284e-06/1.448, allocations: 0 / 1.007 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001397/1.449, allocations: 298.8 kB / 1.007 GB, free: 6.207 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.0007883/1.45, allocations: 209.4 kB / 1.007 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001105/1.451, allocations: 0.6207 MB / 1.008 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.451, allocations: 0 / 1.008 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003863/1.452, allocations: 282 kB / 1.008 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/1.454, allocations: 434 kB / 1.008 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/1.457, allocations: 2.468 MB / 1.011 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/1.458, allocations: 1.12 MB / 1.012 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/1.458, allocations: 94.84 kB / 1.012 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/1.458, allocations: 0 / 1.012 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.0276/1.486, allocations: 14.98 MB / 1.027 GB, free: 11.25 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile make -j1 -f Buildings_8_Buildings.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o] Error 1