Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008464/0.0008465, allocations: 92.16 kB / 16.02 MB, free: 80 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.0008214/0.0008214, allocations: 183.3 kB / 16.92 MB, free: 6.926 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.312/1.312, allocations: 223.2 MB / 240.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7499/0.7499, allocations: 132.3 MB / 424.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.000341, allocations: 13.81 kB / 0.5046 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4471, allocations: 81.57 MB / 0.5843 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.1918/0.6389, allocations: 180.4 MB / 0.7605 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009491/0.6484, allocations: 6.956 MB / 0.7672 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000739/0.6492, allocations: 23.88 kB / 0.7673 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008549/0.65, allocations: 338.1 kB / 0.7676 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.653, allocations: 1.362 MB / 0.7689 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.6554, allocations: 1.054 MB / 0.7699 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002626/0.658, allocations: 2.713 MB / 0.7726 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007113/0.6588, allocations: 0.5395 MB / 0.7731 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.66, allocations: 0.7119 MB / 0.7738 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.661, allocations: 0.6021 MB / 0.7744 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/0.6611, allocations: 32 kB / 0.7744 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.6644, allocations: 2.186 MB / 0.7766 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.6646, allocations: 251.2 kB / 0.7768 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003944/0.665, allocations: 411.7 kB / 0.7772 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.6665, allocations: 1.259 MB / 0.7784 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6665, allocations: 0 / 0.7784 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6665, allocations: 0 / 0.7784 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.6665, allocations: 0 / 0.7784 GB, free: 8.922 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001497/0.668, allocations: 1.02 MB / 0.7794 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.6681, allocations: 12.03 kB / 0.7794 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.6698, allocations: 266.8 kB / 0.7797 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007934/0.6706, allocations: 0.5792 MB / 0.7803 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.6707, allocations: 41.31 kB / 0.7803 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.804e-05/0.6708, allocations: 63.84 kB / 0.7804 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.6718, allocations: 0.6401 MB / 0.781 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.6718, allocations: 0 / 0.781 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.6719, allocations: 20 kB / 0.781 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.6719, allocations: 21.31 kB / 0.781 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.6728, allocations: 0.5282 MB / 0.7815 GB, free: 5.625 MB / 0.6075 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.002841/0.6757, allocations: 2.457 MB / 0.7839 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.6763, allocations: 379.7 kB / 0.7843 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.6767, allocations: 237.4 kB / 0.7845 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006106/0.6773, allocations: 327.5 kB / 0.7848 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.6774, allocations: 38.83 kB / 0.7849 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.854e-06/0.6774, allocations: 3.938 kB / 0.7849 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001301/0.6787, allocations: 0.6346 MB / 0.7855 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.6787, allocations: 55.41 kB / 0.7856 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.6793, allocations: 0.495 MB / 0.786 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.6793, allocations: 33.7 kB / 0.7861 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.6795, allocations: 332.5 kB / 0.7864 GB, free: 344 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.6796, allocations: 134 kB / 0.7865 GB, free: 208 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.6797, allocations: 41.7 kB / 0.7866 GB, free: 160 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.6799, allocations: 366.8 kB / 0.7869 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.6802, allocations: 172.7 kB / 0.7871 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.6806, allocations: 300.2 kB / 0.7874 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000749/0.6814, allocations: 457 kB / 0.7878 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6814, allocations: 0 / 0.7878 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009212/0.6823, allocations: 0.5366 MB / 0.7883 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.6825, allocations: 163.5 kB / 0.7885 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.6825, allocations: 4 kB / 0.7885 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.6825, allocations: 11.98 kB / 0.7885 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.6833, allocations: 131.8 kB / 0.7886 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004218/0.6837, allocations: 0.6016 MB / 0.7892 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.6843, allocations: 79.58 kB / 0.7893 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.6844, allocations: 20 kB / 0.7893 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.6844, allocations: 7.938 kB / 0.7893 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007761/0.6852, allocations: 463.7 kB / 0.7897 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.6852, allocations: 0 / 0.7897 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/0.6852, allocations: 4 kB / 0.7897 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.6857, allocations: 127.9 kB / 0.7899 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.6857, allocations: 4.078 kB / 0.7899 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.6863, allocations: 72.83 kB / 0.7899 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.6863, allocations: 20 kB / 0.79 GB, free: 12.52 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003575/0.6867, allocations: 314.4 kB / 0.7903 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.6868, allocations: 63.19 kB / 0.7903 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008793/0.6877, allocations: 496 kB / 0.7908 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.6877, allocations: 7.938 kB / 0.7908 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6877, allocations: 0 / 0.7908 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007966/0.6885, allocations: 0.7147 MB / 0.7915 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.6903, allocations: 1.288 MB / 0.7928 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.6903, allocations: 0 / 0.7928 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/0.6909, allocations: 144 kB / 0.7929 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.691, allocations: 0 / 0.7929 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.691, allocations: 15.98 kB / 0.7929 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003389/0.6913, allocations: 0.5937 MB / 0.7935 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.6914, allocations: 4 kB / 0.7935 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.6925, allocations: 0.8342 MB / 0.7943 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.6927, allocations: 192.3 kB / 0.7945 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.6928, allocations: 8.094 kB / 0.7945 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004545/0.6933, allocations: 51.89 kB / 0.7946 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-05/0.6934, allocations: 39.89 kB / 0.7946 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.6934, allocations: 15.92 kB / 0.7946 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003713/0.6938, allocations: 354.8 kB / 0.7949 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6938, allocations: 0 / 0.7949 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008788/0.6947, allocations: 363.1 kB / 0.7953 GB, free: 6.805 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004088/0.6951, allocations: 201.1 kB / 0.7955 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.6964, allocations: 0.6798 MB / 0.7961 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.6965, allocations: 4 kB / 0.7961 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.6968, allocations: 226 kB / 0.7964 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.6987, allocations: 358.7 kB / 0.7967 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.701, allocations: 1.781 MB / 0.7984 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.7016, allocations: 0.9457 MB / 0.7994 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.7017, allocations: 51.44 kB / 0.7994 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of SimCode: time 7.42e-07/0.7017, allocations: 0 / 0.7994 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of Templates: time 0.01641/0.7181, allocations: 12.96 MB / 0.8121 GB, free: 5.645 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.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.DensityCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.DensityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.DensityCalcHelperMain.o] Error 1