Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002347/0.002347, allocations: 100.1 kB / 15.88 MB, free: 12 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.003485/0.003485, allocations: 198.7 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.686/2.686, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003387/0.003386, allocations: 294.9 kB / 290.9 MB, free: 2.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.898/1.898, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003577/0.003577, allocations: 90.84 kB / 0.5951 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3556, allocations: 86.99 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 1.131/1.487, allocations: 165.1 MB / 0.8413 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004103/1.491, allocations: 1.561 MB / 0.8428 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008425/1.492, allocations: 13.75 kB / 0.8428 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00066/1.492, allocations: 109.8 kB / 0.8429 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002384/1.495, allocations: 0.6708 MB / 0.8436 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/1.497, allocations: 0.5506 MB / 0.8441 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001486/1.498, allocations: 0.9689 MB / 0.8451 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/1.499, allocations: 196.6 kB / 0.8453 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009371/1.5, allocations: 312.3 kB / 0.8456 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005135/1.5, allocations: 235.2 kB / 0.8458 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/1.5, allocations: 14.88 kB / 0.8458 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/1.503, allocations: 1.009 MB / 0.8468 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/1.503, allocations: 101 kB / 0.8469 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002313/1.503, allocations: 164.9 kB / 0.8471 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007484/1.504, allocations: 0.4904 MB / 0.8475 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.504, allocations: 0 / 0.8475 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.92e-07/1.504, allocations: 0 / 0.8475 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.655e-06/1.504, allocations: 1.375 kB / 0.8475 GB, free: 13.36 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001023/1.505, allocations: 0.6543 MB / 0.8482 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.505, allocations: 14.17 kB / 0.8482 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/1.506, allocations: 154 kB / 0.8483 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/1.506, allocations: 303.2 kB / 0.8486 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/1.506, allocations: 20.66 kB / 0.8486 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/1.507, allocations: 17.12 kB / 0.8487 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/1.507, allocations: 280.2 kB / 0.8489 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.507, allocations: 3.938 kB / 0.8489 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/1.507, allocations: 10.5 kB / 0.8489 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/1.507, allocations: 5.531 kB / 0.8489 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/1.508, allocations: 200.4 kB / 0.8491 GB, free: 12.12 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.001423/1.509, allocations: 1.216 MB / 0.8503 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/1.509, allocations: 133.1 kB / 0.8504 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/1.509, allocations: 95.77 kB / 0.8505 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000687/1.51, allocations: 295.4 kB / 0.8508 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.51, allocations: 41.5 kB / 0.8509 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.542e-06/1.51, allocations: 4 kB / 0.8509 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.000765/1.511, allocations: 281.8 kB / 0.8511 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/1.511, allocations: 54.31 kB / 0.8512 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/1.511, allocations: 312 kB / 0.8515 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/1.511, allocations: 29.7 kB / 0.8515 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/1.512, allocations: 188.2 kB / 0.8517 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/1.512, allocations: 54.45 kB / 0.8517 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/1.512, allocations: 44.23 kB / 0.8518 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.512, allocations: 336.1 kB / 0.8521 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/1.512, allocations: 64.52 kB / 0.8522 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/1.512, allocations: 130.4 kB / 0.8523 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/1.513, allocations: 185.1 kB / 0.8525 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.513, allocations: 0 / 0.8525 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000462/1.513, allocations: 247.4 kB / 0.8527 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.513, allocations: 5.75 kB / 0.8527 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.513, allocations: 3.141 kB / 0.8527 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.513, allocations: 2.875 kB / 0.8527 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/1.513, allocations: 43.58 kB / 0.8528 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.513, allocations: 6.531 kB / 0.8528 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/1.514, allocations: 39.92 kB / 0.8528 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/1.514, allocations: 8.344 kB / 0.8528 GB, free: 9.078 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001471/1.514, allocations: 153.1 kB / 0.853 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/1.514, allocations: 24.97 kB / 0.853 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/1.514, allocations: 227.2 kB / 0.8532 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.514, allocations: 6.469 kB / 0.8532 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.514, allocations: 0 / 0.8532 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.514, allocations: 0 / 0.8532 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/1.515, allocations: 0.6811 MB / 0.8539 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.515, allocations: 2.906 kB / 0.8539 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/1.516, allocations: 34.05 kB / 0.8539 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.516, allocations: 6.953 kB / 0.8539 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/1.516, allocations: 8.844 kB / 0.8539 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.516, allocations: 2.312 kB / 0.8539 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.516, allocations: 2.875 kB / 0.8539 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006692/1.516, allocations: 433.7 kB / 0.8543 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.516, allocations: 127.5 kB / 0.8545 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/1.516, allocations: 10.25 kB / 0.8545 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/1.517, allocations: 14.92 kB / 0.8545 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/1.517, allocations: 17.58 kB / 0.8545 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/1.517, allocations: 8.781 kB / 0.8545 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002293/1.517, allocations: 226.8 kB / 0.8547 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.517, allocations: 0 / 0.8547 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000407/1.517, allocations: 71.53 kB / 0.8548 GB, free: 7.562 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0004548/1.518, allocations: 169.8 kB / 0.855 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004189/1.518, allocations: 171.5 kB / 0.8551 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.518, allocations: 0 / 0.8551 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/1.519, allocations: 84.2 kB / 0.8552 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009251/1.519, allocations: 169 kB / 0.8554 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/1.521, allocations: 0.718 MB / 0.8561 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/1.521, allocations: 0.7782 MB / 0.8568 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.325e-05/1.521, allocations: 29.62 kB / 0.8568 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/1.521, allocations: 0 / 0.8568 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of Templates: time 0.6601/2.181, allocations: 4.804 MB / 0.8615 GB, free: 3.484 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRateCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o] Error 1