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.001289/0.001289, allocations: 103 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.001878/0.001878, allocations: 177.8 kB / 16.58 MB, free: 6.109 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.447/1.447, allocations: 223.2 MB / 240.6 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7863/0.7863, allocations: 132.3 MB / 424 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005004, allocations: 13.44 kB / 0.504 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5952/0.5957, allocations: 81.57 MB / 0.5837 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1989/0.7947, allocations: 152 MB / 0.7321 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.7974, allocations: 1.468 MB / 0.7336 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.7976, allocations: 7.938 kB / 0.7336 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.7981, allocations: 107.2 kB / 0.7337 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.7995, allocations: 0.5053 MB / 0.7342 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.8008, allocations: 456.1 kB / 0.7346 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009156/0.8018, allocations: 0.826 MB / 0.7354 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.8021, allocations: 181.1 kB / 0.7356 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005679/0.8027, allocations: 302.8 kB / 0.7359 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.803, allocations: 219.1 kB / 0.7361 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.803, allocations: 12 kB / 0.7361 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.8041, allocations: 474.8 kB / 0.7366 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.8043, allocations: 91.75 kB / 0.7366 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.215e-05/0.8044, allocations: 85.52 kB / 0.7367 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.8049, allocations: 435 kB / 0.7371 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8049, allocations: 4 kB / 0.7371 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8049, allocations: 4 kB / 0.7372 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.805, allocations: 0 / 0.7372 GB, free: 2.988 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.0008881/0.8058, allocations: 0.6019 MB / 0.7377 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.8059, allocations: 12.03 kB / 0.7377 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.807, allocations: 159.4 kB / 0.7379 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.8074, allocations: 293.9 kB / 0.7382 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.8074, allocations: 16.44 kB / 0.7382 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.8075, allocations: 20 kB / 0.7382 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.808, allocations: 287.4 kB / 0.7385 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.808, allocations: 0 / 0.7385 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.8081, allocations: 8 kB / 0.7385 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.8081, allocations: 8 kB / 0.7385 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.8085, allocations: 207.7 kB / 0.7387 GB, free: 1.289 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.001447/0.8099, allocations: 1.217 MB / 0.7399 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.8102, allocations: 142.5 kB / 0.74 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.8104, allocations: 92.81 kB / 0.7401 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005909/0.811, allocations: 315.2 kB / 0.7404 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.8111, allocations: 34.56 kB / 0.7405 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.8111, allocations: 0 / 0.7405 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0007294/0.8118, allocations: 297.3 kB / 0.7407 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.8119, allocations: 59.34 kB / 0.7408 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.8122, allocations: 316.5 kB / 0.7411 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.8122, allocations: 33.7 kB / 0.7411 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.8124, allocations: 180.1 kB / 0.7413 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.8124, allocations: 51.28 kB / 0.7413 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.8124, allocations: 4 kB / 0.7413 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.8126, allocations: 338.8 kB / 0.7417 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.8128, allocations: 75.95 kB / 0.7417 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.813, allocations: 117.1 kB / 0.7419 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.8132, allocations: 99.92 kB / 0.742 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8132, allocations: 0 / 0.742 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004441/0.8136, allocations: 249.1 kB / 0.7422 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.8136, allocations: 4 kB / 0.7422 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.8137, allocations: 4 kB / 0.7422 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.8137, allocations: 0 / 0.7422 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.8139, allocations: 43.97 kB / 0.7422 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.8139, allocations: 11.92 kB / 0.7423 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.8141, allocations: 43.73 kB / 0.7423 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.8141, allocations: 8 kB / 0.7423 GB, free: 13.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.8143, allocations: 149.8 kB / 0.7424 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.8143, allocations: 27.7 kB / 0.7425 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/0.8148, allocations: 235.5 kB / 0.7427 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.8148, allocations: 3.984 kB / 0.7427 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8148, allocations: 0 / 0.7427 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8148, allocations: 0 / 0.7427 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.8159, allocations: 0.6913 MB / 0.7434 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-06/0.8159, allocations: 4 kB / 0.7434 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.816, allocations: 40.14 kB / 0.7434 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.8161, allocations: 4 kB / 0.7434 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.8161, allocations: 4 kB / 0.7434 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.8161, allocations: 7.938 kB / 0.7434 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8161, allocations: 4 kB / 0.7434 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.8167, allocations: 444.9 kB / 0.7439 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.8169, allocations: 128.7 kB / 0.744 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.8169, allocations: 8 kB / 0.744 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.8171, allocations: 15.92 kB / 0.744 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.8172, allocations: 27.94 kB / 0.744 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.8172, allocations: 4 kB / 0.744 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002235/0.8174, allocations: 227 kB / 0.7443 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8174, allocations: 0 / 0.7443 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004217/0.8178, allocations: 75.91 kB / 0.7443 GB, free: 11.13 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 (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.0004432/0.8183, allocations: 178.6 kB / 0.7445 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004141/0.8187, allocations: 175.7 kB / 0.7447 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8187, allocations: 4 kB / 0.7447 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.8189, allocations: 100 kB / 0.7448 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008273/0.8198, allocations: 157.2 kB / 0.7449 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.8208, allocations: 0.7296 MB / 0.7456 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.8212, allocations: 0.7758 MB / 0.7464 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.101e-05/0.8213, allocations: 27.44 kB / 0.7464 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.8213, allocations: 3.938 kB / 0.7464 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of Templates: time 0.007895/0.8292, allocations: 4.759 MB / 0.7511 GB, free: 4.219 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++ 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 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