Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_Buildings.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.0009775/0.0009775, allocations: 100.5 kB / 15.71 MB, free: 452 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.001246/0.001246, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.502/1.502, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 436.7 MB / 0.7113 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004326, allocations: 8 kB / 0.8717 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8198/0.8203, allocations: 153.7 MB / 1.022 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1802/1.001, allocations: 152.1 MB / 1.17 GB, free: 8.613 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002577/1.003, allocations: 1.486 MB / 1.172 GB, free: 7.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/1.003, allocations: 15.94 kB / 1.172 GB, free: 7.109 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004072/1.004, allocations: 103.2 kB / 1.172 GB, free: 7.008 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/1.005, allocations: 0.5014 MB / 1.172 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/1.006, allocations: 465.5 kB / 1.173 GB, free: 6.051 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000889/1.007, allocations: 0.8463 MB / 1.174 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/1.008, allocations: 181.1 kB / 1.174 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005866/1.008, allocations: 310.8 kB / 1.174 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/1.009, allocations: 223.1 kB / 1.174 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/1.009, allocations: 16 kB / 1.174 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/1.01, allocations: 470.8 kB / 1.175 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/1.01, allocations: 91.7 kB / 1.175 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/1.01, allocations: 97.5 kB / 1.175 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005429/1.01, allocations: 439 kB / 1.175 GB, free: 3.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.01, allocations: 0 / 1.175 GB, free: 3.406 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.333e-06/1.011, allocations: 0 / 1.175 GB, free: 3.406 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.28e-06/1.011, allocations: 4 kB / 1.175 GB, free: 3.402 MB / 0.92 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.0009031/1.011, allocations: 0.6078 MB / 1.176 GB, free: 2.746 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.011, allocations: 15.98 kB / 1.176 GB, free: 2.73 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/1.013, allocations: 155.5 kB / 1.176 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/1.013, allocations: 302.8 kB / 1.176 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/1.013, allocations: 16.56 kB / 1.176 GB, free: 2.227 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/1.013, allocations: 27.95 kB / 1.176 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/1.013, allocations: 289.8 kB / 1.177 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.014, allocations: 0 / 1.177 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/1.014, allocations: 12 kB / 1.177 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.014, allocations: 4 kB / 1.177 GB, free: 1.879 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/1.014, allocations: 220.7 kB / 1.177 GB, free: 1.664 MB / 0.92 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.001364/1.015, allocations: 1.227 MB / 1.178 GB, free: 340 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/1.016, allocations: 154.5 kB / 1.178 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/1.016, allocations: 100.7 kB / 1.178 GB, free: 72 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/1.016, allocations: 315.2 kB / 1.179 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1.017, allocations: 30.56 kB / 1.179 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=17): time 1.764e-06/1.017, allocations: 4 kB / 1.179 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17): time 0.0007929/1.017, allocations: 322 kB / 1.179 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.017, allocations: 55.41 kB / 1.179 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/1.018, allocations: 316.5 kB / 1.179 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/1.018, allocations: 33.7 kB / 1.179 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/1.018, allocations: 184.1 kB / 1.18 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/1.018, allocations: 63.09 kB / 1.18 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/1.018, allocations: 4 kB / 1.18 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001608/1.018, allocations: 338.8 kB / 1.18 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/1.018, allocations: 79.94 kB / 1.18 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/1.019, allocations: 126.7 kB / 1.18 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/1.019, allocations: 95.89 kB / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.019, allocations: 0 / 1.18 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004563/1.019, allocations: 259.4 kB / 1.18 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.019, allocations: 5.719 kB / 1.18 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.019, allocations: 0 / 1.18 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/1.019, allocations: 7.953 kB / 1.18 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/1.02, allocations: 47.97 kB / 1.181 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/1.02, allocations: 11.92 kB / 1.181 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/1.02, allocations: 39.73 kB / 1.181 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/1.02, allocations: 12 kB / 1.181 GB, free: 13.64 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/1.02, allocations: 141.8 kB / 1.181 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/1.02, allocations: 35.61 kB / 1.181 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/1.02, allocations: 248.6 kB / 1.181 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/1.02, allocations: 4.094 kB / 1.181 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.02, allocations: 4 kB / 1.181 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/1.021, allocations: 3.984 kB / 1.181 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/1.022, allocations: 0.7147 MB / 1.182 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.022, allocations: 4.062 kB / 1.182 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/1.022, allocations: 39.97 kB / 1.182 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.022, allocations: 4 kB / 1.182 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/1.022, allocations: 4 kB / 1.182 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/1.022, allocations: 8.031 kB / 1.182 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.022, allocations: 3.938 kB / 1.182 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/1.022, allocations: 479.1 kB / 1.182 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/1.023, allocations: 120.7 kB / 1.182 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/1.023, allocations: 4 kB / 1.182 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/1.023, allocations: 27.98 kB / 1.182 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/1.023, allocations: 11.98 kB / 1.182 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/1.023, allocations: 8 kB / 1.182 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002163/1.023, allocations: 227 kB / 1.183 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.023, allocations: 0 / 1.183 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003755/1.023, allocations: 75.94 kB / 1.183 GB, free: 11.36 MB / 0.9356 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 (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.0003776/1.024, allocations: 169.4 kB / 1.183 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004103/1.024, allocations: 197.5 kB / 1.183 GB, free: 11 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.024, allocations: 0 / 1.183 GB, free: 11 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/1.024, allocations: 95.83 kB / 1.183 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/1.025, allocations: 176.4 kB / 1.183 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/1.026, allocations: 0.7642 MB / 1.184 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/1.027, allocations: 0.7798 MB / 1.185 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/1.027, allocations: 31.44 kB / 1.185 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/1.027, allocations: 0 / 1.185 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.007259/1.034, allocations: 4.89 MB / 1.19 GB, free: 4.227 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.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 OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.VelocityCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.VelocityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.VelocityCalcHelperMain.o] Error 1