Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001023/0.001023, allocations: 96.11 kB / 16.33 MB, free: 5.949 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.001223/0.001223, allocations: 189.4 kB / 17.23 MB, free: 5.887 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.561/1.561, allocations: 223.2 MB / 241.2 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7123/0.7123, allocations: 114.3 MB / 406.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003525, allocations: 11.94 kB / 494.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1896, allocations: 77.27 MB / 0.5583 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6453/0.8349, allocations: 177.5 MB / 0.7317 GB, free: 8.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01725/0.8522, allocations: 13.3 MB / 0.7447 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.8538, allocations: 27.81 kB / 0.7447 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001449/0.8553, allocations: 353.8 kB / 0.745 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.86, allocations: 1.369 MB / 0.7464 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002393/0.8624, allocations: 0.6592 MB / 0.747 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004204/0.8666, allocations: 3.06 MB / 0.75 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.8681, allocations: 0.8037 MB / 0.7508 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/0.8714, allocations: 1.21 MB / 0.752 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.8732, allocations: 0.8875 MB / 0.7528 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.8733, allocations: 48 kB / 0.7529 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.8752, allocations: 0.5651 MB / 0.7534 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005/0.8757, allocations: 446.8 kB / 0.7539 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.8761, allocations: 253.1 kB / 0.7541 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.8778, allocations: 1.356 MB / 0.7554 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.8778, allocations: 0 / 0.7554 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8779, allocations: 4 kB / 0.7554 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.693e-05/0.8779, allocations: 0 / 0.7554 GB, free: 15.78 MB / 0.5762 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.002049/0.8799, allocations: 1.239 MB / 0.7566 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.88, allocations: 8.031 kB / 0.7566 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.8813, allocations: 258.3 kB / 0.7569 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.8828, allocations: 0.8277 MB / 0.7577 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.55e-05/0.8829, allocations: 66 kB / 0.7578 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.883, allocations: 92 kB / 0.7579 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.8848, allocations: 1.169 MB / 0.759 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.8849, allocations: 7.938 kB / 0.759 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.8849, allocations: 40 kB / 0.759 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.885, allocations: 37.95 kB / 0.7591 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.8864, allocations: 0.9015 MB / 0.76 GB, free: 10.97 MB / 0.5762 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.005699/0.8921, allocations: 5.735 MB / 0.7656 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.8929, allocations: 0.5703 MB / 0.7661 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004496/0.8934, allocations: 339.4 kB / 0.7664 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005706/0.894, allocations: 323.8 kB / 0.7667 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.894, allocations: 42.94 kB / 0.7668 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=51): time 1.903e-06/0.894, allocations: 7.938 kB / 0.7668 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51): time 0.001535/0.8956, allocations: 0.8182 MB / 0.7676 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.8956, allocations: 89.55 kB / 0.7677 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000905/0.8966, allocations: 0.7469 MB / 0.7684 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.8966, allocations: 37.7 kB / 0.7684 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.8971, allocations: 0.5066 MB / 0.7689 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.8973, allocations: 185.5 kB / 0.7691 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.8974, allocations: 16 kB / 0.7691 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.8976, allocations: 334 kB / 0.7694 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.898, allocations: 253.8 kB / 0.7697 GB, free: 412 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/0.8987, allocations: 0.5653 MB / 0.7702 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005775/0.8993, allocations: 364.6 kB / 0.7706 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.8993, allocations: 4 kB / 0.7706 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001343/0.9006, allocations: 0.8584 MB / 0.7714 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.9007, allocations: 8 kB / 0.7714 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.9007, allocations: 8.062 kB / 0.7714 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/0.9007, allocations: 16 kB / 0.7715 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/0.9014, allocations: 159.7 kB / 0.7716 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/0.9014, allocations: 23.92 kB / 0.7716 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.9025, allocations: 155 kB / 0.7718 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.9026, allocations: 39.95 kB / 0.7718 GB, free: 14.07 MB / 0.5919 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.0007101/0.9033, allocations: 333.5 kB / 0.7721 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.9035, allocations: 86.97 kB / 0.7722 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.9045, allocations: 0.6296 MB / 0.7728 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.9046, allocations: 4 kB / 0.7728 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.9046, allocations: 4 kB / 0.7728 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007059/0.9053, allocations: 0.5251 MB / 0.7734 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.908, allocations: 1.781 MB / 0.7751 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.908, allocations: 0 / 0.7751 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.9085, allocations: 111.9 kB / 0.7752 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.9085, allocations: 7.953 kB / 0.7752 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.9085, allocations: 16 kB / 0.7752 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.9086, allocations: 7.938 kB / 0.7752 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.9086, allocations: 4 kB / 0.7752 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.9099, allocations: 1.041 MB / 0.7763 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/0.9103, allocations: 231.9 kB / 0.7765 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.9104, allocations: 19.94 kB / 0.7765 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/0.9109, allocations: 63.86 kB / 0.7766 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.911, allocations: 35.91 kB / 0.7766 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.911, allocations: 23.92 kB / 0.7766 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006441/0.9117, allocations: 0.5107 MB / 0.7771 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9117, allocations: 0 / 0.7771 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009886/0.9127, allocations: 295.4 kB / 0.7774 GB, free: 8.195 MB / 0.5919 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.0005209/0.9132, allocations: 216.8 kB / 0.7776 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.9142, allocations: 0.6193 MB / 0.7782 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9143, allocations: 0 / 0.7782 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.9146, allocations: 275.7 kB / 0.7785 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.9165, allocations: 447.4 kB / 0.7789 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.92, allocations: 2.497 MB / 0.7813 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/0.9207, allocations: 1.126 MB / 0.7824 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.921, allocations: 87.41 kB / 0.7825 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/0.921, allocations: 0 / 0.7825 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of Templates: time 0.02665/0.9477, allocations: 14.95 MB / 0.7971 GB, free: 4.055 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile make -j1 -f IBPSA_latest_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 OMCppIBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstancesCalcHelperMain.o] Error 1