Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001177/0.001177, 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.001776/0.001777, allocations: 176.6 kB / 16.58 MB, free: 6.879 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.555/1.555, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.659/2.659, allocations: 390.5 MB / 0.6662 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005313/0.0005315, allocations: 12 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8327/0.8332, allocations: 142.3 MB / 0.9544 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1871/1.02, allocations: 152.1 MB / 1.103 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003018/1.023, allocations: 1.487 MB / 1.104 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/1.024, allocations: 7.938 kB / 1.104 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004621/1.024, allocations: 107.2 kB / 1.104 GB, free: 6.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/1.026, allocations: 0.5092 MB / 1.105 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/1.027, allocations: 453.6 kB / 1.105 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008951/1.028, allocations: 0.8424 MB / 1.106 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/1.028, allocations: 189.1 kB / 1.106 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005858/1.029, allocations: 314.7 kB / 1.107 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/1.029, allocations: 223.1 kB / 1.107 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/1.029, allocations: 15.98 kB / 1.107 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/1.03, allocations: 462.9 kB / 1.107 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/1.03, allocations: 95.69 kB / 1.107 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/1.031, allocations: 93.5 kB / 1.108 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005389/1.031, allocations: 439 kB / 1.108 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.031, allocations: 0 / 1.108 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/1.031, allocations: 0 / 1.108 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.031, allocations: 0 / 1.108 GB, free: 2.461 MB / 0.8575 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.0008934/1.032, allocations: 0.6233 MB / 1.109 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/1.032, allocations: 8.031 kB / 1.109 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/1.033, allocations: 159.3 kB / 1.109 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/1.034, allocations: 298.9 kB / 1.109 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/1.034, allocations: 16.56 kB / 1.109 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/1.034, allocations: 24 kB / 1.109 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/1.034, allocations: 293.8 kB / 1.109 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.034, allocations: 0 / 1.109 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/1.034, allocations: 8 kB / 1.109 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/1.034, allocations: 11.95 kB / 1.109 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/1.035, allocations: 216.7 kB / 1.11 GB, free: 0.7148 MB / 0.8575 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.001436/1.036, allocations: 1.23 MB / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/1.036, allocations: 146.5 kB / 1.111 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/1.037, allocations: 104.8 kB / 1.111 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000564/1.037, allocations: 307.2 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/1.037, allocations: 42.56 kB / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/1.037, allocations: 0 / 1.111 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0007533/1.038, allocations: 314.9 kB / 1.112 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/1.038, allocations: 55.41 kB / 1.112 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/1.038, allocations: 316.5 kB / 1.112 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/1.038, allocations: 29.7 kB / 1.112 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/1.039, allocations: 184.1 kB / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/1.039, allocations: 59.19 kB / 1.112 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/1.039, allocations: 4 kB / 1.112 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.039, allocations: 350.7 kB / 1.113 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/1.039, allocations: 75.94 kB / 1.113 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/1.039, allocations: 133.8 kB / 1.113 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/1.039, allocations: 90.56 kB / 1.113 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.039, allocations: 0 / 1.113 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004569/1.04, allocations: 269.1 kB / 1.113 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.04, allocations: 4 kB / 1.113 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.04, allocations: 7.938 kB / 1.113 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.04, allocations: 0 / 1.113 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/1.04, allocations: 47.97 kB / 1.113 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/1.04, allocations: 8.031 kB / 1.113 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/1.04, allocations: 43.67 kB / 1.113 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/1.04, allocations: 12 kB / 1.113 GB, free: 12.69 MB / 0.8731 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.0001588/1.041, allocations: 149.8 kB / 1.113 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/1.041, allocations: 31.61 kB / 1.113 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/1.041, allocations: 246.2 kB / 1.114 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/1.041, allocations: 4 kB / 1.114 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.041, allocations: 0 / 1.114 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.041, allocations: 0 / 1.114 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/1.042, allocations: 0.7185 MB / 1.114 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.042, allocations: 4 kB / 1.114 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/1.042, allocations: 35.97 kB / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.042, allocations: 4 kB / 1.114 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/1.042, allocations: 7.953 kB / 1.114 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.042, allocations: 7.938 kB / 1.114 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.042, allocations: 4 kB / 1.114 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/1.043, allocations: 463.1 kB / 1.115 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/1.043, allocations: 120.8 kB / 1.115 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/1.043, allocations: 8 kB / 1.115 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/1.043, allocations: 23.91 kB / 1.115 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/1.044, allocations: 15.98 kB / 1.115 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/1.044, allocations: 8 kB / 1.115 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002228/1.044, allocations: 231 kB / 1.115 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.21e-07/1.044, allocations: 96 / 1.115 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003979/1.044, allocations: 83.88 kB / 1.115 GB, free: 10.4 MB / 0.8731 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.0004467/1.045, allocations: 174.8 kB / 1.116 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004331/1.045, allocations: 187.9 kB / 1.116 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.045, allocations: 0 / 1.116 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/1.045, allocations: 99.77 kB / 1.116 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/1.046, allocations: 165.2 kB / 1.116 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/1.047, allocations: 0.7759 MB / 1.117 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/1.048, allocations: 0.7758 MB / 1.117 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.884e-05/1.048, allocations: 31.44 kB / 1.118 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/1.048, allocations: 0 / 1.118 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of Templates: time 0.007714/1.056, allocations: 4.893 MB / 1.122 GB, free: 3.285 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.Sensors.Examples.VelocityCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.VelocityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.VelocityCalcHelperMain.o] Error 1