Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002032/0.002032, 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.002483/0.002483, allocations: 195.9 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.729/2.729, allocations: 222.9 MB / 240.4 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003618/0.003619, allocations: 282.6 kB / 290.9 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.725/1.725, allocations: 169.2 MB / 0.4984 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002772/0.002772, allocations: 97.11 kB / 0.5951 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3262, allocations: 86.99 MB / 0.6801 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 1.234/1.56, allocations: 165.1 MB / 0.8414 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005538/1.566, allocations: 1.563 MB / 0.8429 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/1.567, allocations: 13.25 kB / 0.8429 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000889/1.568, allocations: 116.7 kB / 0.843 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003612/1.572, allocations: 0.6763 MB / 0.8437 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/1.575, allocations: 0.5516 MB / 0.8442 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002459/1.577, allocations: 0.9888 MB / 0.8452 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005933/1.578, allocations: 199.3 kB / 0.8454 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/1.579, allocations: 324.6 kB / 0.8457 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005503/1.58, allocations: 228 kB / 0.8459 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.387e-05/1.58, allocations: 16.5 kB / 0.8459 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/1.583, allocations: 1.016 MB / 0.8469 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/1.584, allocations: 105.7 kB / 0.847 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003769/1.584, allocations: 168.1 kB / 0.8472 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/1.586, allocations: 0.5061 MB / 0.8477 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/1.586, allocations: 0 / 0.8477 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.894e-06/1.586, allocations: 1.844 kB / 0.8477 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.646e-06/1.586, allocations: 0 / 0.8477 GB, free: 13.31 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001625/1.587, allocations: 0.656 MB / 0.8483 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.631e-05/1.587, allocations: 10.84 kB / 0.8483 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/1.589, allocations: 163.3 kB / 0.8485 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007902/1.59, allocations: 311.5 kB / 0.8488 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/1.59, allocations: 23.25 kB / 0.8488 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/1.59, allocations: 25.25 kB / 0.8488 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008492/1.591, allocations: 276 kB / 0.8491 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/1.591, allocations: 6.688 kB / 0.8491 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/1.591, allocations: 14.59 kB / 0.8491 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/1.591, allocations: 5.344 kB / 0.8491 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006253/1.592, allocations: 202 kB / 0.8493 GB, free: 12.05 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.0023/1.594, allocations: 1.226 MB / 0.8505 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/1.595, allocations: 153.2 kB / 0.8506 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/1.595, allocations: 92.14 kB / 0.8507 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009882/1.596, allocations: 303.6 kB / 0.851 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/1.596, allocations: 32.91 kB / 0.851 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 4.909e-06/1.596, allocations: 0 / 0.851 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.001259/1.597, allocations: 295.5 kB / 0.8513 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/1.597, allocations: 53.59 kB / 0.8514 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/1.598, allocations: 325 kB / 0.8517 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/1.598, allocations: 29.7 kB / 0.8517 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/1.598, allocations: 182.1 kB / 0.8519 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.541e-05/1.598, allocations: 58.72 kB / 0.8519 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.598, allocations: 48.02 kB / 0.852 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002263/1.599, allocations: 346.6 kB / 0.8523 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/1.599, allocations: 68.67 kB / 0.8524 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/1.599, allocations: 130.6 kB / 0.8525 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/1.6, allocations: 193.5 kB / 0.8527 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.6, allocations: 2.875 kB / 0.8527 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007905/1.601, allocations: 252 kB / 0.8529 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/1.601, allocations: 9.328 kB / 0.8529 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.601, allocations: 8.094 kB / 0.853 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/1.601, allocations: 2.688 kB / 0.853 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/1.601, allocations: 43.52 kB / 0.853 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/1.601, allocations: 1.125 kB / 0.853 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/1.601, allocations: 37.45 kB / 0.853 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/1.602, allocations: 15.89 kB / 0.853 GB, free: 8.965 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 (24): * Single equations (assignments): 24 * 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.0002977/1.602, allocations: 157.9 kB / 0.8532 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.663e-05/1.602, allocations: 28.52 kB / 0.8532 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007848/1.603, allocations: 243.8 kB / 0.8535 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.603, allocations: 2.812 kB / 0.8535 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.603, allocations: 0 / 0.8535 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.603, allocations: 3.984 kB / 0.8535 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/1.605, allocations: 0.7045 MB / 0.8542 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.605, allocations: 0 / 0.8542 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/1.605, allocations: 39.08 kB / 0.8542 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/1.605, allocations: 4.562 kB / 0.8542 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/1.605, allocations: 9.375 kB / 0.8542 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/1.605, allocations: 6.438 kB / 0.8542 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/1.605, allocations: 2.562 kB / 0.8542 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/1.606, allocations: 447.1 kB / 0.8546 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/1.607, allocations: 123.8 kB / 0.8548 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/1.607, allocations: 5.844 kB / 0.8548 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/1.607, allocations: 24.14 kB / 0.8548 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/1.607, allocations: 19.2 kB / 0.8548 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/1.607, allocations: 7.5 kB / 0.8548 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00045/1.608, allocations: 229.1 kB / 0.855 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.608, allocations: 0 / 0.855 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007747/1.608, allocations: 80.33 kB / 0.8551 GB, free: 7.402 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 (17): * Single equations (assignments): 17 * 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.0007839/1.609, allocations: 172 kB / 0.8553 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007227/1.61, allocations: 188.8 kB / 0.8554 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.61, allocations: 2.562 kB / 0.8555 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/1.61, allocations: 94.16 kB / 0.8555 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.612, allocations: 159.2 kB / 0.8557 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/1.614, allocations: 0.7527 MB / 0.8564 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/1.614, allocations: 0.7809 MB / 0.8572 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/1.615, allocations: 27.19 kB / 0.8572 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/1.615, allocations: 0 / 0.8572 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of Templates: time 0.01672/1.631, allocations: 4.936 MB / 0.862 GB, free: 3.227 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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.VelocityCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VelocityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VelocityCalcHelperMain.o] Error 1