Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_9_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.001029/0.00103, allocations: 102.8 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.001507/0.001507, allocations: 178.1 kB / 16.58 MB, free: 6.402 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.504/1.504, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.542/2.542, allocations: 390.5 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 12 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8428/0.8432, allocations: 142.3 MB / 0.9544 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.223/1.066, allocations: 177.6 MB / 1.128 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0169/1.083, allocations: 13.3 MB / 1.141 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/1.085, allocations: 35.81 kB / 1.141 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/1.086, allocations: 349.7 kB / 1.141 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004333/1.09, allocations: 1.372 MB / 1.142 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/1.093, allocations: 0.6596 MB / 1.143 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003791/1.096, allocations: 3.056 MB / 1.146 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/1.098, allocations: 0.8046 MB / 1.147 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/1.101, allocations: 1.202 MB / 1.148 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/1.102, allocations: 0.8836 MB / 1.149 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/1.103, allocations: 48 kB / 1.149 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001779/1.104, allocations: 0.569 MB / 1.15 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005003/1.105, allocations: 442.8 kB / 1.15 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003777/1.105, allocations: 253.1 kB / 1.15 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/1.107, allocations: 1.364 MB / 1.152 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.107, allocations: 0 / 1.152 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.695e-06/1.107, allocations: 0 / 1.152 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.236e-05/1.107, allocations: 0 / 1.152 GB, free: 5.715 MB / 0.9044 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.002046/1.109, allocations: 1.239 MB / 1.153 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.109, allocations: 12.03 kB / 1.153 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/1.11, allocations: 246.4 kB / 1.153 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/1.112, allocations: 0.8315 MB / 1.154 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/1.112, allocations: 70 kB / 1.154 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/1.112, allocations: 96 kB / 1.154 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/1.114, allocations: 1.17 MB / 1.155 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/1.114, allocations: 4 kB / 1.155 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/1.114, allocations: 36 kB / 1.155 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-05/1.114, allocations: 34 kB / 1.155 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/1.116, allocations: 0.9015 MB / 1.156 GB, free: 0.9219 MB / 0.9044 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.005917/1.122, allocations: 5.759 MB / 1.162 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009533/1.123, allocations: 0.5672 MB / 1.162 GB, free: 10.12 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004608/1.123, allocations: 331.4 kB / 1.163 GB, free: 9.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/1.124, allocations: 327.7 kB / 1.163 GB, free: 9.418 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.124, allocations: 46.98 kB / 1.163 GB, free: 9.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=51): time 2.424e-06/1.124, allocations: 3.938 kB / 1.163 GB, free: 9.359 MB / 0.92 GB Notification: Performance of matching and sorting (n=51): time 0.001577/1.125, allocations: 0.8221 MB / 1.164 GB, free: 8.527 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/1.125, allocations: 81.55 kB / 1.164 GB, free: 8.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009466/1.126, allocations: 0.7393 MB / 1.165 GB, free: 7.68 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/1.126, allocations: 37.7 kB / 1.165 GB, free: 7.637 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/1.127, allocations: 0.5144 MB / 1.165 GB, free: 7.113 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/1.127, allocations: 185.4 kB / 1.165 GB, free: 6.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/1.127, allocations: 12 kB / 1.165 GB, free: 6.918 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.127, allocations: 334 kB / 1.166 GB, free: 6.586 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/1.127, allocations: 257.8 kB / 1.166 GB, free: 6.332 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/1.128, allocations: 0.5779 MB / 1.166 GB, free: 5.617 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/1.129, allocations: 356.5 kB / 1.167 GB, free: 5.273 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.129, allocations: 0 / 1.167 GB, free: 5.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001385/1.13, allocations: 0.8622 MB / 1.168 GB, free: 4.402 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.13, allocations: 16.19 kB / 1.168 GB, free: 4.387 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.13, allocations: 8 kB / 1.168 GB, free: 4.379 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.13, allocations: 12 kB / 1.168 GB, free: 4.367 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/1.131, allocations: 163.7 kB / 1.168 GB, free: 4.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/1.131, allocations: 15.94 kB / 1.168 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009161/1.132, allocations: 155 kB / 1.168 GB, free: 4.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/1.132, allocations: 32 kB / 1.168 GB, free: 4.008 MB / 0.92 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.0004797/1.132, allocations: 333.5 kB / 1.168 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/1.133, allocations: 90.92 kB / 1.168 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/1.134, allocations: 0.6335 MB / 1.169 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/1.134, allocations: 8 kB / 1.169 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.134, allocations: 0 / 1.169 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007138/1.134, allocations: 0.5251 MB / 1.169 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/1.137, allocations: 1.777 MB / 1.171 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/1.137, allocations: 0 / 1.171 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/1.138, allocations: 115.8 kB / 1.171 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/1.138, allocations: 4 kB / 1.171 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/1.138, allocations: 12 kB / 1.171 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/1.138, allocations: 4 kB / 1.171 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.138, allocations: 4 kB / 1.171 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/1.139, allocations: 1.057 MB / 1.172 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/1.139, allocations: 227.9 kB / 1.173 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.14, allocations: 19.98 kB / 1.173 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/1.14, allocations: 59.95 kB / 1.173 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.017e-05/1.14, allocations: 35.91 kB / 1.173 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/1.14, allocations: 31.92 kB / 1.173 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006364/1.141, allocations: 0.5029 MB / 1.173 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.141, allocations: 0 / 1.173 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009793/1.142, allocations: 299.3 kB / 1.174 GB, free: 14.13 MB / 0.9356 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.000532/1.142, allocations: 209.6 kB / 1.174 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009973/1.143, allocations: 0.6267 MB / 1.174 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.143, allocations: 0 / 1.174 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000373/1.144, allocations: 277.2 kB / 1.175 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/1.146, allocations: 442.1 kB / 1.175 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/1.149, allocations: 2.5 MB / 1.177 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/1.15, allocations: 1.126 MB / 1.179 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/1.15, allocations: 87.41 kB / 1.179 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of SimCode: time 8.01e-07/1.15, allocations: 0 / 1.179 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of Templates: time 0.02409/1.174, allocations: 14.96 MB / 1.193 GB, free: 9.977 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile make -j1 -f Buildings_9_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/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 OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o] Error 1