Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001081/0.00108, allocations: 96.14 kB / 15.87 MB, free: 16 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.00105/0.00105, allocations: 195.5 kB / 16.79 MB, free: 6.812 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7292/0.7292, allocations: 132.2 MB / 422.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 55.02 kB / 0.5017 GB, free: 9.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1732, allocations: 80.21 MB / 0.58 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5151/0.6883, allocations: 165.1 MB / 0.7413 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002848/0.6912, allocations: 1.556 MB / 0.7428 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.6915, allocations: 12.5 kB / 0.7428 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.692, allocations: 123.4 kB / 0.7429 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.6936, allocations: 0.6697 MB / 0.7436 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.695, allocations: 0.5432 MB / 0.7441 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009173/0.696, allocations: 0.9705 MB / 0.745 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.6963, allocations: 208.2 kB / 0.7452 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.6968, allocations: 298.8 kB / 0.7455 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.6971, allocations: 231.8 kB / 0.7457 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.6972, allocations: 16.56 kB / 0.7458 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.6987, allocations: 1.015 MB / 0.7468 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.6988, allocations: 101.8 kB / 0.7468 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.699, allocations: 162.4 kB / 0.747 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.6997, allocations: 0.4955 MB / 0.7475 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6997, allocations: 2.406 kB / 0.7475 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6997, allocations: 0 / 0.7475 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.6997, allocations: 0 / 0.7475 GB, free: 6.379 MB / 0.5606 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.0009927/0.7007, allocations: 0.6548 MB / 0.7481 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7007, allocations: 9.844 kB / 0.7481 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.7019, allocations: 151.8 kB / 0.7483 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.7023, allocations: 308.2 kB / 0.7486 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.7023, allocations: 15.94 kB / 0.7486 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.7023, allocations: 23.34 kB / 0.7486 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.7028, allocations: 283.9 kB / 0.7489 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7028, allocations: 0 / 0.7489 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.7029, allocations: 6.812 kB / 0.7489 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.7029, allocations: 7.375 kB / 0.7489 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.7033, allocations: 201.5 kB / 0.7491 GB, free: 5.125 MB / 0.5606 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.001399/0.7047, allocations: 1.213 MB / 0.7503 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.705, allocations: 129.5 kB / 0.7504 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.7052, allocations: 93.86 kB / 0.7505 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006477/0.7058, allocations: 306.3 kB / 0.7508 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.7059, allocations: 30.56 kB / 0.7508 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.7059, allocations: 0 / 0.7508 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.000746/0.7066, allocations: 282.5 kB / 0.7511 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.7067, allocations: 51.41 kB / 0.7511 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.707, allocations: 316.3 kB / 0.7514 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.707, allocations: 28.2 kB / 0.7515 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.7072, allocations: 187.4 kB / 0.7516 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.7072, allocations: 55.33 kB / 0.7517 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.7073, allocations: 48.95 kB / 0.7517 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7075, allocations: 338.7 kB / 0.7521 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.7076, allocations: 72.03 kB / 0.7521 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.7078, allocations: 120.2 kB / 0.7522 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.7082, allocations: 190.2 kB / 0.7524 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7082, allocations: 0 / 0.7524 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004638/0.7087, allocations: 246.5 kB / 0.7527 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.7087, allocations: 6.312 kB / 0.7527 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7087, allocations: 3.344 kB / 0.7527 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.7087, allocations: 2.344 kB / 0.7527 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.7089, allocations: 47.25 kB / 0.7527 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.709, allocations: 6.719 kB / 0.7527 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.7092, allocations: 29.33 kB / 0.7527 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.7092, allocations: 14.91 kB / 0.7528 GB, free: 2.074 MB / 0.5606 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.000152/0.7094, allocations: 156.2 kB / 0.7529 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.7094, allocations: 28.59 kB / 0.7529 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004823/0.7099, allocations: 218.1 kB / 0.7531 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7099, allocations: 0 / 0.7531 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.71, allocations: 0 / 0.7531 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.71, allocations: 8 kB / 0.7532 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.711, allocations: 0.6796 MB / 0.7538 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.711, allocations: 0 / 0.7538 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.7112, allocations: 39.91 kB / 0.7539 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.7112, allocations: 3.938 kB / 0.7539 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.7112, allocations: 8 kB / 0.7539 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.7113, allocations: 4 kB / 0.7539 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7113, allocations: 0.7031 kB / 0.7539 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.7119, allocations: 440 kB / 0.7543 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.7121, allocations: 128.7 kB / 0.7544 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.7121, allocations: 0 / 0.7544 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.7123, allocations: 23.89 kB / 0.7544 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.7124, allocations: 11.92 kB / 0.7544 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.7124, allocations: 8 kB / 0.7545 GB, free: 296 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002242/0.7126, allocations: 231.1 kB / 0.7547 GB, free: 64 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7126, allocations: 3.938 kB / 0.7547 GB, free: 60 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003923/0.713, allocations: 76.05 kB / 0.7548 GB, free: 15.98 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.0004028/0.7134, allocations: 167.1 kB / 0.7549 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.7139, allocations: 167.8 kB / 0.7551 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7139, allocations: 3.938 kB / 0.7551 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.7141, allocations: 91.81 kB / 0.7552 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000845/0.7149, allocations: 169.8 kB / 0.7553 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.716, allocations: 0.7146 MB / 0.756 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.7163, allocations: 0.7758 MB / 0.7568 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.7164, allocations: 27.44 kB / 0.7568 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.7164, allocations: 0 / 0.7568 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of Templates: time 0.006897/0.7233, allocations: 4.803 MB / 0.7615 GB, free: 9.082 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o] Error 1