Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008717/0.0008716, allocations: 100.5 kB / 15.71 MB, free: 452 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.0009902/0.0009903, allocations: 175.7 kB / 16.58 MB, free: 6.879 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.487/1.487, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.06/1.06, allocations: 135.3 MB / 427 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004443, allocations: 8.781 kB / 0.5076 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2176, allocations: 82.31 MB / 0.588 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5978/0.8155, allocations: 152 MB / 0.7364 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003035/0.8186, allocations: 1.469 MB / 0.7379 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.8189, allocations: 15 kB / 0.7379 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.8194, allocations: 106.3 kB / 0.738 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.821, allocations: 0.5039 MB / 0.7385 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.8225, allocations: 447.3 kB / 0.7389 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.8237, allocations: 0.8295 MB / 0.7397 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.824, allocations: 175.7 kB / 0.7399 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006176/0.8247, allocations: 307.7 kB / 0.7402 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.825, allocations: 215.7 kB / 0.7404 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.825, allocations: 13.75 kB / 0.7404 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.8266, allocations: 470.1 kB / 0.7408 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.8267, allocations: 94.33 kB / 0.7409 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.8269, allocations: 93.41 kB / 0.741 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.8276, allocations: 433.3 kB / 0.7414 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.8276, allocations: 1.25 kB / 0.7414 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8276, allocations: 0 / 0.7414 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8276, allocations: 0 / 0.7414 GB, free: 12.95 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.0008927/0.8285, allocations: 0.6041 MB / 0.742 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.8286, allocations: 12.25 kB / 0.742 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.8296, allocations: 156.9 kB / 0.7422 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.8301, allocations: 297.1 kB / 0.7425 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.8301, allocations: 12.69 kB / 0.7425 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.8302, allocations: 23.53 kB / 0.7425 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.8307, allocations: 283.6 kB / 0.7428 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.8307, allocations: 0 / 0.7428 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.8307, allocations: 11.03 kB / 0.7428 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.8307, allocations: 5.594 kB / 0.7428 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.8312, allocations: 213.5 kB / 0.743 GB, free: 11.91 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.001375/0.8326, allocations: 1.214 MB / 0.7442 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.8328, allocations: 142.4 kB / 0.7443 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.833, allocations: 95.14 kB / 0.7444 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005588/0.8336, allocations: 318.8 kB / 0.7447 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.8336, allocations: 37.25 kB / 0.7448 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.8336, allocations: 4 kB / 0.7448 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.000711/0.8343, allocations: 296.1 kB / 0.745 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.8344, allocations: 57.56 kB / 0.7451 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.8347, allocations: 311.6 kB / 0.7454 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.8347, allocations: 29.7 kB / 0.7454 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.8349, allocations: 183.5 kB / 0.7456 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.8349, allocations: 52.42 kB / 0.7456 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-06/0.835, allocations: 0 / 0.7456 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8351, allocations: 344.5 kB / 0.746 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.8353, allocations: 80.2 kB / 0.746 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.8354, allocations: 122.3 kB / 0.7462 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.8356, allocations: 87.28 kB / 0.7462 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8356, allocations: 3.375 kB / 0.7463 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004259/0.8361, allocations: 248.7 kB / 0.7465 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.8361, allocations: 7.328 kB / 0.7465 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.8361, allocations: 2.875 kB / 0.7465 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.8361, allocations: 3.469 kB / 0.7465 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.8363, allocations: 48.83 kB / 0.7465 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.8363, allocations: 2 kB / 0.7465 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.8366, allocations: 39.39 kB / 0.7466 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.8366, allocations: 11.98 kB / 0.7466 GB, free: 9.129 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.8368, allocations: 152.4 kB / 0.7467 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.8368, allocations: 25.2 kB / 0.7468 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.8373, allocations: 238.7 kB / 0.747 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8373, allocations: 3.312 kB / 0.747 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8373, allocations: 0 / 0.747 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.8373, allocations: 0 / 0.747 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009636/0.8383, allocations: 0.6843 MB / 0.7477 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8383, allocations: 5.625 kB / 0.7477 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.8385, allocations: 41.78 kB / 0.7477 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.8385, allocations: 3.375 kB / 0.7477 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.8385, allocations: 7.375 kB / 0.7477 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.8385, allocations: 7.422 kB / 0.7477 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8385, allocations: 0 / 0.7477 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.8394, allocations: 450.5 kB / 0.7482 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.8395, allocations: 121.6 kB / 0.7483 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.8396, allocations: 9.328 kB / 0.7483 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.8398, allocations: 13.97 kB / 0.7483 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.8398, allocations: 21.38 kB / 0.7483 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.8398, allocations: 14.73 kB / 0.7483 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002257/0.8401, allocations: 220.7 kB / 0.7485 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8401, allocations: 0 / 0.7485 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004277/0.8405, allocations: 82.08 kB / 0.7486 GB, free: 7.594 MB / 0.5606 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.0004722/0.841, allocations: 172.4 kB / 0.7488 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.8414, allocations: 175.5 kB / 0.749 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8414, allocations: 4.062 kB / 0.749 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.8416, allocations: 92.95 kB / 0.749 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.8425, allocations: 164.5 kB / 0.7492 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.8435, allocations: 0.7401 MB / 0.7499 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.8439, allocations: 0.7762 MB / 0.7507 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.844, allocations: 26.81 kB / 0.7507 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.844, allocations: 0 / 0.7507 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of Templates: time 0.007508/0.8515, allocations: 4.759 MB / 0.7554 GB, free: 1.277 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRateCalcHelperMain.o] Error 1