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.0008716/0.0008715, allocations: 102.6 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.001035/0.001035, allocations: 172.5 kB / 16.58 MB, free: 6.398 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.413/1.413, allocations: 223.3 MB / 240.6 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.776/0.776, allocations: 132.3 MB / 424 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 14 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.533/0.5334, allocations: 81.58 MB / 0.5837 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.22/0.7534, allocations: 168.3 MB / 0.748 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.7663, allocations: 6.504 MB / 0.7544 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.7677, allocations: 23.81 kB / 0.7544 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.7688, allocations: 274.2 kB / 0.7547 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003577/0.7723, allocations: 1.057 MB / 0.7557 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.7753, allocations: 0.8271 MB / 0.7565 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003347/0.7787, allocations: 2.295 MB / 0.7588 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009194/0.7796, allocations: 0.4922 MB / 0.7592 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.7812, allocations: 0.6924 MB / 0.7599 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009368/0.7822, allocations: 0.5642 MB / 0.7605 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.257e-05/0.7823, allocations: 32 kB / 0.7605 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.7854, allocations: 1.138 MB / 0.7616 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.7857, allocations: 247.3 kB / 0.7618 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.786, allocations: 181.3 kB / 0.762 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.7876, allocations: 1.142 MB / 0.7631 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7876, allocations: 0 / 0.7631 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7876, allocations: 0 / 0.7631 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.7876, allocations: 0 / 0.7631 GB, free: 8.387 MB / 0.5919 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.001775/0.7894, allocations: 1.029 MB / 0.7641 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.7895, allocations: 8.031 kB / 0.7641 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/0.7913, allocations: 270.8 kB / 0.7644 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009375/0.7922, allocations: 0.564 MB / 0.7649 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.7923, allocations: 41.31 kB / 0.765 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.7924, allocations: 59.91 kB / 0.765 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.7936, allocations: 0.6323 MB / 0.7657 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.7936, allocations: 4 kB / 0.7657 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/0.7937, allocations: 20 kB / 0.7657 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.7937, allocations: 17.31 kB / 0.7657 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009994/0.7947, allocations: 0.5282 MB / 0.7662 GB, free: 5.109 MB / 0.5919 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.003269/0.798, allocations: 2.457 MB / 0.7686 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.7986, allocations: 375.7 kB / 0.769 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003812/0.799, allocations: 241.4 kB / 0.7692 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005948/0.7996, allocations: 319.6 kB / 0.7695 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.7997, allocations: 42.83 kB / 0.7695 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.405e-06/0.7997, allocations: 0 / 0.7695 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001446/0.8011, allocations: 0.6307 MB / 0.7702 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.8012, allocations: 55.41 kB / 0.7702 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006041/0.8018, allocations: 0.495 MB / 0.7707 GB, free: 204 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.8019, allocations: 33.7 kB / 0.7707 GB, free: 164 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.8022, allocations: 320.6 kB / 0.771 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.8023, allocations: 145.8 kB / 0.7712 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.8024, allocations: 8 kB / 0.7712 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002352/0.8026, allocations: 366.8 kB / 0.7715 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.803, allocations: 172.8 kB / 0.7717 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.8034, allocations: 288.2 kB / 0.772 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.8038, allocations: 219.9 kB / 0.7722 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8038, allocations: 0 / 0.7722 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009176/0.8047, allocations: 0.5298 MB / 0.7727 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.8049, allocations: 156.7 kB / 0.7729 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.8049, allocations: 0 / 0.7729 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.8049, allocations: 7.953 kB / 0.7729 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/0.8056, allocations: 147.8 kB / 0.773 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004159/0.8061, allocations: 0.586 MB / 0.7736 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.8067, allocations: 83.61 kB / 0.7737 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.8068, allocations: 16 kB / 0.7737 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.8068, allocations: 6.344 kB / 0.7737 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007904/0.8076, allocations: 463.8 kB / 0.7741 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8076, allocations: 4 kB / 0.7741 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/0.8076, allocations: 4.281 kB / 0.7741 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.8081, allocations: 123.9 kB / 0.7742 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.8081, allocations: 11.92 kB / 0.7743 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.8086, allocations: 71.61 kB / 0.7743 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.8086, allocations: 23.98 kB / 0.7743 GB, free: 12.34 MB / 0.6075 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003377/0.809, allocations: 302.5 kB / 0.7746 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.349e-05/0.8091, allocations: 63.25 kB / 0.7747 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009622/0.8101, allocations: 0.4883 MB / 0.7752 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.8101, allocations: 4 kB / 0.7752 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.8101, allocations: 7.969 kB / 0.7752 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007873/0.8109, allocations: 0.7147 MB / 0.7759 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.8129, allocations: 1.292 MB / 0.7771 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8129, allocations: 8.172 kB / 0.7771 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.8135, allocations: 139.8 kB / 0.7773 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.8136, allocations: 4 kB / 0.7773 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.8136, allocations: 8 kB / 0.7773 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003484/0.814, allocations: 0.5976 MB / 0.7779 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.814, allocations: 4.031 kB / 0.7779 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.8153, allocations: 0.8412 MB / 0.7787 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.8155, allocations: 176.4 kB / 0.7789 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.8156, allocations: 8 kB / 0.7789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.816, allocations: 59.8 kB / 0.7789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.8161, allocations: 31.91 kB / 0.779 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.8161, allocations: 12 kB / 0.779 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004185/0.8165, allocations: 346.8 kB / 0.7793 GB, free: 7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8165, allocations: 0 / 0.7793 GB, free: 7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009513/0.8175, allocations: 363.2 kB / 0.7797 GB, free: 6.645 MB / 0.6075 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004935/0.818, allocations: 185.9 kB / 0.7798 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.8194, allocations: 0.677 MB / 0.7805 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8194, allocations: 8.125 kB / 0.7805 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.8199, allocations: 224.4 kB / 0.7807 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.8215, allocations: 360.3 kB / 0.7811 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.8239, allocations: 1.76 MB / 0.7828 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.8245, allocations: 0.9535 MB / 0.7837 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.8247, allocations: 55.44 kB / 0.7838 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.8247, allocations: 0 / 0.7838 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of Templates: time 0.0191/0.8438, allocations: 12.98 MB / 0.7964 GB, free: 5.48 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.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.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