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.0007343/0.0007344, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009069/0.0009069, allocations: 181.9 kB / 16.92 MB, free: 6.918 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.282/1.282, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7203/0.7203, allocations: 132.3 MB / 424.4 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.000336, allocations: 12.53 kB / 0.5046 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4256, allocations: 81.57 MB / 0.5843 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1695/0.5952, allocations: 163 MB / 0.7434 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.5977, allocations: 1.549 MB / 0.7449 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.5979, allocations: 15.88 kB / 0.745 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.5983, allocations: 107.2 kB / 0.7451 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.5998, allocations: 0.6653 MB / 0.7457 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.6011, allocations: 0.5562 MB / 0.7463 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008576/0.602, allocations: 0.978 MB / 0.7472 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.6023, allocations: 197.1 kB / 0.7474 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004728/0.6028, allocations: 302.8 kB / 0.7477 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.603, allocations: 223 kB / 0.7479 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.6031, allocations: 12 kB / 0.7479 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.6044, allocations: 1.021 MB / 0.7489 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.6045, allocations: 95.7 kB / 0.749 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.6047, allocations: 180.9 kB / 0.7492 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.6053, allocations: 499 kB / 0.7496 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6053, allocations: 0 / 0.7496 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6053, allocations: 0 / 0.7496 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.6053, allocations: 0 / 0.7496 GB, free: 6.574 MB / 0.5762 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.0007702/0.6061, allocations: 0.5998 MB / 0.7502 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6061, allocations: 12.03 kB / 0.7502 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.6072, allocations: 155.5 kB / 0.7504 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.6075, allocations: 305.7 kB / 0.7507 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.6076, allocations: 12.44 kB / 0.7507 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.6076, allocations: 27.94 kB / 0.7507 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.6081, allocations: 283.5 kB / 0.751 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6081, allocations: 0 / 0.751 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.6081, allocations: 8 kB / 0.751 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.6081, allocations: 4 kB / 0.751 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004027/0.6085, allocations: 215.8 kB / 0.7512 GB, free: 4.863 MB / 0.5762 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.001257/0.6098, allocations: 1.213 MB / 0.7524 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.6101, allocations: 150.4 kB / 0.7525 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.6103, allocations: 96.8 kB / 0.7526 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00056/0.6108, allocations: 311.2 kB / 0.7529 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.6109, allocations: 34.56 kB / 0.753 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.6109, allocations: 0 / 0.753 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007326/0.6116, allocations: 301.3 kB / 0.7532 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.6117, allocations: 59.41 kB / 0.7533 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.612, allocations: 308.5 kB / 0.7536 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.612, allocations: 33.7 kB / 0.7536 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.6121, allocations: 188 kB / 0.7538 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.6122, allocations: 51.2 kB / 0.7539 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.6122, allocations: 25.7 kB / 0.7539 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6123, allocations: 338.8 kB / 0.7542 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.6125, allocations: 71.95 kB / 0.7543 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.6127, allocations: 129 kB / 0.7544 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.6131, allocations: 199.8 kB / 0.7546 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6131, allocations: 0 / 0.7546 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004412/0.6135, allocations: 253.2 kB / 0.7548 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.6135, allocations: 7.938 kB / 0.7548 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.6136, allocations: 4 kB / 0.7548 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.6136, allocations: 0 / 0.7548 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.6138, allocations: 52 kB / 0.7549 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6138, allocations: 7.984 kB / 0.7549 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.614, allocations: 39.67 kB / 0.7549 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.614, allocations: 4 kB / 0.7549 GB, free: 0.7656 MB / 0.5762 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.0001284/0.6142, allocations: 149.8 kB / 0.7551 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.6142, allocations: 35.56 kB / 0.7551 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.6147, allocations: 231.4 kB / 0.7553 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6147, allocations: 0 / 0.7553 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.6147, allocations: 11.98 kB / 0.7553 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.6147, allocations: 0 / 0.7553 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009672/0.6157, allocations: 0.6875 MB / 0.756 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6157, allocations: 0 / 0.756 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.6158, allocations: 43.86 kB / 0.7561 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.6159, allocations: 0 / 0.7561 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.6159, allocations: 7.938 kB / 0.7561 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.6159, allocations: 7.984 kB / 0.7561 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6159, allocations: 4.219 kB / 0.7561 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.6165, allocations: 445 kB / 0.7565 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.6166, allocations: 128.6 kB / 0.7566 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.6167, allocations: 8.062 kB / 0.7566 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.6169, allocations: 19.98 kB / 0.7567 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.6169, allocations: 19.92 kB / 0.7567 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.6169, allocations: 4 kB / 0.7567 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002056/0.6172, allocations: 227 kB / 0.7569 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6172, allocations: 0 / 0.7569 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003631/0.6175, allocations: 83.91 kB / 0.757 GB, free: 14.54 MB / 0.5919 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.0003417/0.6179, allocations: 171 kB / 0.7571 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004103/0.6183, allocations: 183.7 kB / 0.7573 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6183, allocations: 0 / 0.7573 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.6185, allocations: 92.44 kB / 0.7574 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009264/0.6194, allocations: 156.7 kB / 0.7575 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/0.6204, allocations: 0.7508 MB / 0.7583 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.6207, allocations: 0.7797 MB / 0.759 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.6208, allocations: 31.38 kB / 0.7591 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6208, allocations: 4 kB / 0.7591 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.006603/0.6274, allocations: 4.756 MB / 0.7637 GB, free: 7.609 MB / 0.5919 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