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.0008563/0.0008564, allocations: 92.16 kB / 16.02 MB, free: 80 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.000993/0.000993, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001921/0.001921, allocations: 270.7 kB / 292.3 MB, free: 1.812 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9694/0.9694, allocations: 169.5 MB / 0.501 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004421, allocations: 21.59 kB / 0.5993 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1839, allocations: 88.54 MB / 0.6858 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5928/0.7767, allocations: 163 MB / 0.8449 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003109/0.7798, allocations: 1.544 MB / 0.8464 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.7802, allocations: 10.25 kB / 0.8464 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00051/0.7807, allocations: 124.2 kB / 0.8465 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.7826, allocations: 0.669 MB / 0.8472 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.7841, allocations: 0.5397 MB / 0.8477 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.7852, allocations: 0.9758 MB / 0.8487 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.7855, allocations: 190.5 kB / 0.8489 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005329/0.7861, allocations: 307.3 kB / 0.8491 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.7864, allocations: 229.6 kB / 0.8494 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.7864, allocations: 14.25 kB / 0.8494 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.7881, allocations: 1.005 MB / 0.8504 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.7882, allocations: 99.56 kB / 0.8505 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.7884, allocations: 173.6 kB / 0.8506 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.789, allocations: 0.4972 MB / 0.8511 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.789, allocations: 4 kB / 0.8511 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7891, allocations: 0 / 0.8511 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.7891, allocations: 0 / 0.8511 GB, free: 15.03 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.000906/0.79, allocations: 0.5927 MB / 0.8517 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.79, allocations: 8.781 kB / 0.8517 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.7912, allocations: 161.3 kB / 0.8519 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.7916, allocations: 309.5 kB / 0.8521 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.7916, allocations: 17.34 kB / 0.8522 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.7917, allocations: 21.41 kB / 0.8522 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.7922, allocations: 285.3 kB / 0.8525 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7922, allocations: 3.938 kB / 0.8525 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.7922, allocations: 6.688 kB / 0.8525 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.7922, allocations: 5.75 kB / 0.8525 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.7927, allocations: 211.4 kB / 0.8527 GB, free: 13.8 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.001417/0.7941, allocations: 1.213 MB / 0.8539 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.7944, allocations: 143.4 kB / 0.854 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.7946, allocations: 92.25 kB / 0.8541 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000625/0.7952, allocations: 318.8 kB / 0.8544 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.7952, allocations: 34.5 kB / 0.8544 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.7952, allocations: 7 kB / 0.8544 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007566/0.796, allocations: 296 kB / 0.8547 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.7961, allocations: 58.31 kB / 0.8548 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.7964, allocations: 319 kB / 0.8551 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.7964, allocations: 29.05 kB / 0.8551 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.7965, allocations: 180.8 kB / 0.8553 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.7966, allocations: 56.11 kB / 0.8553 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.7966, allocations: 23.66 kB / 0.8553 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7968, allocations: 342.7 kB / 0.8557 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.797, allocations: 70.48 kB / 0.8557 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.7972, allocations: 125.7 kB / 0.8559 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.7976, allocations: 211.4 kB / 0.8561 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7976, allocations: 0 / 0.8561 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004523/0.798, allocations: 255 kB / 0.8563 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7981, allocations: 8.094 kB / 0.8563 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7981, allocations: 0 / 0.8563 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.7981, allocations: 2.906 kB / 0.8563 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.7983, allocations: 47.55 kB / 0.8564 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.7983, allocations: 0 / 0.8564 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.7985, allocations: 40.34 kB / 0.8564 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.7986, allocations: 9.688 kB / 0.8564 GB, free: 10.75 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.0001485/0.7987, allocations: 155.5 kB / 0.8566 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.7988, allocations: 29.84 kB / 0.8566 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.7993, allocations: 227 kB / 0.8568 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.7993, allocations: 2.406 kB / 0.8568 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7993, allocations: 0 / 0.8568 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7993, allocations: 0 / 0.8568 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009915/0.8003, allocations: 0.6986 MB / 0.8575 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.8003, allocations: 4.531 kB / 0.8575 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.8005, allocations: 39.39 kB / 0.8575 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.8005, allocations: 3.25 kB / 0.8575 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.8005, allocations: 6.875 kB / 0.8575 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.8005, allocations: 2.844 kB / 0.8575 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8005, allocations: 2 kB / 0.8575 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.8012, allocations: 459.4 kB / 0.858 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.8013, allocations: 118.6 kB / 0.8581 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.8013, allocations: 14.8 kB / 0.8581 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.8015, allocations: 18.92 kB / 0.8581 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.8016, allocations: 19.89 kB / 0.8581 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.8016, allocations: 2.938 kB / 0.8581 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002366/0.8018, allocations: 224.3 kB / 0.8584 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8018, allocations: 0 / 0.8584 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000381/0.8022, allocations: 81.8 kB / 0.8584 GB, free: 9.215 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.0003924/0.8026, allocations: 171.2 kB / 0.8586 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.8031, allocations: 180.3 kB / 0.8588 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8031, allocations: 0 / 0.8588 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.8033, allocations: 92.2 kB / 0.8589 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/0.8042, allocations: 165.1 kB / 0.859 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.8053, allocations: 0.7626 MB / 0.8598 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.8057, allocations: 0.7753 MB / 0.8605 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.792e-05/0.8058, allocations: 24.12 kB / 0.8605 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.8058, allocations: 6.844 kB / 0.8606 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of Templates: time 0.007261/0.813, allocations: 4.755 MB / 0.8652 GB, free: 5.133 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