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.0007935/0.0007935, allocations: 98.88 kB / 16.02 MB, free: 76 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.001091/0.001092, allocations: 188.4 kB / 16.93 MB, free: 6.766 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.331/1.331, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 266.3 kB / 292.3 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9319/0.9319, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.000405, allocations: 16.98 kB / 0.5993 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.582/0.7598, allocations: 163 MB / 0.8449 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.7627, allocations: 1.56 MB / 0.8465 GB, free: 2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.763, allocations: 14.34 kB / 0.8465 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.7635, allocations: 108.2 kB / 0.8466 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.7652, allocations: 0.6758 MB / 0.8472 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.7667, allocations: 0.5492 MB / 0.8478 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.7678, allocations: 0.9954 MB / 0.8488 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.7681, allocations: 191.4 kB / 0.8489 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005901/0.7687, allocations: 309.2 kB / 0.8492 GB, free: 184 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.769, allocations: 239.9 kB / 0.8495 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.7691, allocations: 13.66 kB / 0.8495 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.7707, allocations: 1.014 MB / 0.8505 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.7709, allocations: 93.17 kB / 0.8506 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.7711, allocations: 198.7 kB / 0.8507 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006387/0.7717, allocations: 0.4937 MB / 0.8512 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7717, allocations: 0 / 0.8512 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7717, allocations: 0 / 0.8512 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.7717, allocations: 1.812 kB / 0.8512 GB, free: 14.97 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.0009161/0.7727, allocations: 0.6085 MB / 0.8518 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.7727, allocations: 11.56 kB / 0.8518 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.7738, allocations: 158.1 kB / 0.852 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.7742, allocations: 316.3 kB / 0.8523 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.7743, allocations: 15.31 kB / 0.8523 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/0.7743, allocations: 26.12 kB / 0.8523 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.7748, allocations: 294.4 kB / 0.8526 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.7749, allocations: 0 / 0.8526 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.7749, allocations: 9.969 kB / 0.8526 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.7749, allocations: 5.938 kB / 0.8526 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.7753, allocations: 216.4 kB / 0.8528 GB, free: 13.73 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.001402/0.7767, allocations: 1.224 MB / 0.854 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.777, allocations: 161 kB / 0.8542 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.7772, allocations: 104.2 kB / 0.8543 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005957/0.7778, allocations: 319.4 kB / 0.8546 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.7779, allocations: 37.84 kB / 0.8546 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.7779, allocations: 0 / 0.8546 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.000779/0.7786, allocations: 315.1 kB / 0.8549 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.7787, allocations: 54.72 kB / 0.855 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.779, allocations: 320.9 kB / 0.8553 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.779, allocations: 29.7 kB / 0.8553 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.7792, allocations: 185.2 kB / 0.8555 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.7792, allocations: 58.7 kB / 0.8555 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.7793, allocations: 27.39 kB / 0.8556 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.7794, allocations: 339.1 kB / 0.8559 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.7796, allocations: 77.23 kB / 0.856 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.7798, allocations: 132 kB / 0.8561 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.7802, allocations: 207.9 kB / 0.8563 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.7802, allocations: 4 kB / 0.8563 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004647/0.7807, allocations: 266.4 kB / 0.8565 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.7807, allocations: 6.969 kB / 0.8565 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7807, allocations: 2.906 kB / 0.8565 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7807, allocations: 7.219 kB / 0.8566 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.7809, allocations: 43.3 kB / 0.8566 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.7809, allocations: 6.781 kB / 0.8566 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.7812, allocations: 39.59 kB / 0.8566 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.7812, allocations: 16.62 kB / 0.8567 GB, free: 10.62 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.0001466/0.7814, allocations: 150.4 kB / 0.8568 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.7814, allocations: 32.72 kB / 0.8568 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.7819, allocations: 238.6 kB / 0.8571 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.7819, allocations: 0 / 0.8571 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7819, allocations: 6.625 kB / 0.8571 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.7819, allocations: 3.984 kB / 0.8571 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.783, allocations: 0.7144 MB / 0.8578 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.783, allocations: 2.938 kB / 0.8578 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.7831, allocations: 31.48 kB / 0.8578 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.7832, allocations: 5.094 kB / 0.8578 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.7832, allocations: 7.156 kB / 0.8578 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.7832, allocations: 14.69 kB / 0.8578 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.7832, allocations: 7.453 kB / 0.8578 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.7839, allocations: 465.8 kB / 0.8583 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.784, allocations: 128.8 kB / 0.8584 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.7841, allocations: 2.906 kB / 0.8584 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.7843, allocations: 22.8 kB / 0.8584 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.7843, allocations: 9.703 kB / 0.8584 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.7843, allocations: 9.281 kB / 0.8584 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002391/0.7846, allocations: 239.2 kB / 0.8587 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7846, allocations: 0 / 0.8587 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004148/0.785, allocations: 79.94 kB / 0.8587 GB, free: 9.059 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.0004361/0.7855, allocations: 169.1 kB / 0.8589 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.7859, allocations: 189.9 kB / 0.8591 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7859, allocations: 0 / 0.8591 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.7861, allocations: 106.1 kB / 0.8592 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009657/0.7871, allocations: 161.3 kB / 0.8593 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.7882, allocations: 0.8035 MB / 0.8601 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.7885, allocations: 0.7819 MB / 0.8609 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.7886, allocations: 26.38 kB / 0.8609 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.7886, allocations: 0 / 0.8609 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of Templates: time 0.007779/0.7964, allocations: 4.883 MB / 0.8657 GB, free: 4.875 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