Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008963/0.0008965, allocations: 102.4 kB / 15.71 MB, free: 460 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.001029/0.001029, allocations: 170.3 kB / 16.58 MB, free: 6.402 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.855/1.855, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.94/1.94, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.000556/0.0005563, allocations: 14.44 kB / 0.6743 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2832, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8279/1.111, allocations: 152 MB / 0.9364 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003845/1.115, allocations: 1.469 MB / 0.9378 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005283/1.116, allocations: 11.44 kB / 0.9378 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006306/1.116, allocations: 109.1 kB / 0.9379 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002672/1.119, allocations: 0.5013 MB / 0.9384 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/1.121, allocations: 456.3 kB / 0.9389 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001347/1.123, allocations: 0.8279 MB / 0.9397 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/1.123, allocations: 174.7 kB / 0.9398 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/1.124, allocations: 311.4 kB / 0.9401 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/1.124, allocations: 217.9 kB / 0.9403 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/1.124, allocations: 13.5 kB / 0.9404 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/1.125, allocations: 465.4 kB / 0.9408 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/1.126, allocations: 99.83 kB / 0.9409 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000501/1.126, allocations: 83.14 kB / 0.941 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008007/1.127, allocations: 438.4 kB / 0.9414 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.127, allocations: 4 kB / 0.9414 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.524e-06/1.127, allocations: 3.5 kB / 0.9414 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.071e-05/1.127, allocations: 0 / 0.9414 GB, free: 21.36 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001029/1.128, allocations: 0.5921 MB / 0.942 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.128, allocations: 10.06 kB / 0.942 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/1.129, allocations: 159.5 kB / 0.9421 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/1.13, allocations: 301.1 kB / 0.9424 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/1.13, allocations: 14.72 kB / 0.9424 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/1.13, allocations: 28.7 kB / 0.9425 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/1.131, allocations: 275.6 kB / 0.9427 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.131, allocations: 1.219 kB / 0.9427 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/1.131, allocations: 11.94 kB / 0.9427 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/1.131, allocations: 5.719 kB / 0.9428 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/1.131, allocations: 206.4 kB / 0.943 GB, free: 20.55 MB / 0.7325 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.001857/1.133, allocations: 1.216 MB / 0.9441 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/1.133, allocations: 146.8 kB / 0.9443 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/1.134, allocations: 94.22 kB / 0.9444 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007438/1.134, allocations: 317.3 kB / 0.9447 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/1.134, allocations: 38.73 kB / 0.9447 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 2.705e-06/1.134, allocations: 0 / 0.9447 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0009599/1.135, allocations: 291 kB / 0.945 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/1.135, allocations: 53.44 kB / 0.945 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/1.136, allocations: 317 kB / 0.9453 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/1.136, allocations: 30.86 kB / 0.9454 GB, free: 19.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/1.136, allocations: 183 kB / 0.9455 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/1.136, allocations: 50.86 kB / 0.9456 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/1.136, allocations: 4.438 kB / 0.9456 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.136, allocations: 342.4 kB / 0.9459 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/1.137, allocations: 70.67 kB / 0.946 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/1.137, allocations: 132.5 kB / 0.9461 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/1.137, allocations: 86.67 kB / 0.9462 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.137, allocations: 0.5938 kB / 0.9462 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006508/1.138, allocations: 250.7 kB / 0.9464 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/1.138, allocations: 5.156 kB / 0.9464 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.138, allocations: 1.438 kB / 0.9464 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.138, allocations: 5.125 kB / 0.9464 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/1.138, allocations: 51.47 kB / 0.9465 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/1.138, allocations: 2.094 kB / 0.9465 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/1.139, allocations: 33.98 kB / 0.9465 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/1.139, allocations: 10.64 kB / 0.9465 GB, free: 18.51 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000196/1.139, allocations: 155.5 kB / 0.9467 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/1.139, allocations: 29.34 kB / 0.9467 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006313/1.139, allocations: 232.6 kB / 0.9469 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/1.14, allocations: 1.75 kB / 0.9469 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.14, allocations: 0.7188 kB / 0.9469 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.14, allocations: 1.969 kB / 0.9469 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/1.141, allocations: 0.6992 MB / 0.9476 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.141, allocations: 5.312 kB / 0.9476 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/1.141, allocations: 35.88 kB / 0.9477 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/1.141, allocations: 4.406 kB / 0.9477 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/1.141, allocations: 9.625 kB / 0.9477 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/1.141, allocations: 9.594 kB / 0.9477 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.141, allocations: 3.969 kB / 0.9477 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/1.142, allocations: 441.3 kB / 0.9481 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/1.142, allocations: 124 kB / 0.9482 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/1.142, allocations: 3.094 kB / 0.9482 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/1.142, allocations: 23.55 kB / 0.9483 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/1.142, allocations: 21.64 kB / 0.9483 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/1.142, allocations: 5.312 kB / 0.9483 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002718/1.143, allocations: 229 kB / 0.9485 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.633e-06/1.143, allocations: 0 / 0.9485 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004952/1.143, allocations: 75.98 kB / 0.9486 GB, free: 17.54 MB / 0.7325 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 (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.0005075/1.144, allocations: 171.4 kB / 0.9487 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000491/1.144, allocations: 172.7 kB / 0.9489 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.144, allocations: 1.031 kB / 0.9489 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/1.144, allocations: 96.17 kB / 0.949 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008912/1.145, allocations: 158.9 kB / 0.9491 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/1.146, allocations: 0.7413 MB / 0.9499 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/1.147, allocations: 0.7792 MB / 0.9506 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/1.147, allocations: 25.75 kB / 0.9507 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/1.147, allocations: 0 / 0.9507 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.00938/1.156, allocations: 4.769 MB / 0.9553 GB, free: 15.86 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o] Error 1