Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.008204/0.008204, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 190.1 kB / 16.78 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.825/1.825, allocations: 292.3 MB / 0.5491 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 64.77 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2993, allocations: 114.6 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.9305/1.23, allocations: 165.2 MB / 0.9446 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003462/1.233, allocations: 1.559 MB / 0.9461 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006169/1.234, allocations: 11.06 kB / 0.9462 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006121/1.235, allocations: 126.5 kB / 0.9463 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002338/1.237, allocations: 0.6687 MB / 0.9469 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/1.239, allocations: 0.548 MB / 0.9475 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001639/1.241, allocations: 0.9898 MB / 0.9484 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000497/1.241, allocations: 211.2 kB / 0.9486 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008292/1.242, allocations: 310.1 kB / 0.9489 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/1.243, allocations: 237.3 kB / 0.9492 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/1.243, allocations: 23.22 kB / 0.9492 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/1.245, allocations: 1.011 MB / 0.9502 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001978/1.245, allocations: 100.7 kB / 0.9503 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002802/1.246, allocations: 165.2 kB / 0.9504 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/1.247, allocations: 0.5049 MB / 0.9509 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.247, allocations: 0 / 0.9509 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/1.247, allocations: 0.8125 kB / 0.9509 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.247, allocations: 0 / 0.9509 GB, free: 5.578 MB / 0.7325 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.00174/1.249, allocations: 0.6674 MB / 0.9516 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/1.249, allocations: 10.06 kB / 0.9516 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/1.25, allocations: 157.1 kB / 0.9517 GB, free: 21.07 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/1.251, allocations: 309.5 kB / 0.952 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/1.251, allocations: 17.25 kB / 0.952 GB, free: 20.84 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/1.251, allocations: 26.72 kB / 0.9521 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/1.252, allocations: 286 kB / 0.9523 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/1.252, allocations: 3.938 kB / 0.9523 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/1.252, allocations: 10.03 kB / 0.9523 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/1.252, allocations: 6.562 kB / 0.9523 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005547/1.252, allocations: 200.5 kB / 0.9525 GB, free: 20.75 MB / 0.7481 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.001719/1.254, allocations: 1.233 MB / 0.9537 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/1.254, allocations: 149.5 kB / 0.9539 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/1.255, allocations: 99.8 kB / 0.954 GB, free: 19.87 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007931/1.255, allocations: 299.4 kB / 0.9543 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.255, allocations: 35.78 kB / 0.9543 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/1.255, allocations: 0 / 0.9543 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.000986/1.256, allocations: 298.2 kB / 0.9546 GB, free: 19.49 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/1.257, allocations: 55.52 kB / 0.9546 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/1.257, allocations: 321.1 kB / 0.9549 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/1.257, allocations: 31.14 kB / 0.955 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/1.257, allocations: 183 kB / 0.9551 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/1.257, allocations: 66.53 kB / 0.9552 GB, free: 19.13 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/1.257, allocations: 45.81 kB / 0.9553 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.258, allocations: 342.4 kB / 0.9556 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/1.258, allocations: 65.45 kB / 0.9556 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/1.258, allocations: 133.8 kB / 0.9558 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/1.258, allocations: 196.6 kB / 0.956 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.258, allocations: 2.906 kB / 0.956 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006624/1.259, allocations: 257.7 kB / 0.9562 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/1.259, allocations: 5.344 kB / 0.9562 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.259, allocations: 3.656 kB / 0.9562 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/1.259, allocations: 2.219 kB / 0.9562 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/1.259, allocations: 47.23 kB / 0.9563 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/1.26, allocations: 5.219 kB / 0.9563 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/1.26, allocations: 38.62 kB / 0.9563 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/1.26, allocations: 8 kB / 0.9563 GB, free: 18.62 MB / 0.7481 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.0001956/1.26, allocations: 155.5 kB / 0.9565 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/1.26, allocations: 26.16 kB / 0.9565 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/1.261, allocations: 232.6 kB / 0.9567 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.261, allocations: 3.062 kB / 0.9567 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.261, allocations: 4.734 kB / 0.9567 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.261, allocations: 4.484 kB / 0.9567 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/1.262, allocations: 0.708 MB / 0.9574 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.262, allocations: 2.125 kB / 0.9574 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/1.263, allocations: 38.09 kB / 0.9575 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/1.263, allocations: 3.375 kB / 0.9575 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/1.263, allocations: 3.844 kB / 0.9575 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/1.263, allocations: 7.062 kB / 0.9575 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/1.263, allocations: 5.734 kB / 0.9575 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/1.264, allocations: 455.9 kB / 0.9579 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/1.264, allocations: 121.6 kB / 0.958 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/1.264, allocations: 8.25 kB / 0.958 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/1.264, allocations: 21.67 kB / 0.958 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.38e-05/1.264, allocations: 17.39 kB / 0.9581 GB, free: 17.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/1.264, allocations: 10.73 kB / 0.9581 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003624/1.265, allocations: 231.9 kB / 0.9583 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.623e-06/1.265, allocations: 0 / 0.9583 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005501/1.265, allocations: 87.56 kB / 0.9584 GB, free: 17.66 MB / 0.7481 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.0005065/1.266, allocations: 156.2 kB / 0.9585 GB, free: 17.56 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000495/1.266, allocations: 177.3 kB / 0.9587 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.266, allocations: 0 / 0.9587 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/1.266, allocations: 94 kB / 0.9588 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009843/1.267, allocations: 174.2 kB / 0.959 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/1.269, allocations: 0.7405 MB / 0.9597 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/1.269, allocations: 0.7857 MB / 0.9604 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/1.269, allocations: 26.94 kB / 0.9605 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/1.269, allocations: 0 / 0.9605 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of Templates: time 0.009472/1.279, allocations: 4.942 MB / 0.9653 GB, free: 15.91 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.makefile make -j1 -f Buildings_8_Buildings.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.VelocityCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.VelocityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.VelocityCalcHelperMain.o] Error 1