Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.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.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008274/0.0008269, allocations: 99.58 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.0008857/0.0008856, allocations: 182 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.305/1.305, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7142/0.7142, allocations: 132.3 MB / 424.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003159, allocations: 17.25 kB / 0.5046 GB, free: 3.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4358, allocations: 81.58 MB / 0.5843 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.1853/0.6212, allocations: 182.1 MB / 0.7621 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007972/0.6292, allocations: 4.587 MB / 0.7666 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.6303, allocations: 23.81 kB / 0.7666 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.6314, allocations: 342.1 kB / 0.767 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.635, allocations: 1.268 MB / 0.7682 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.6369, allocations: 0.6682 MB / 0.7688 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003083/0.64, allocations: 2.74 MB / 0.7715 GB, free: 108 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000913/0.6409, allocations: 0.5387 MB / 0.772 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.6442, allocations: 0.9506 MB / 0.773 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.6453, allocations: 0.5973 MB / 0.7736 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.824e-05/0.6454, allocations: 28 kB / 0.7736 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.6481, allocations: 1.551 MB / 0.7751 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.6484, allocations: 247.2 kB / 0.7753 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.6489, allocations: 391.8 kB / 0.7757 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.6502, allocations: 1.064 MB / 0.7768 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6502, allocations: 0 / 0.7768 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6502, allocations: 0 / 0.7768 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.6502, allocations: 0 / 0.7768 GB, free: 10.74 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001426/0.6516, allocations: 0.9505 MB / 0.7777 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.6517, allocations: 12.03 kB / 0.7777 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.6529, allocations: 206.9 kB / 0.7779 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008815/0.6538, allocations: 0.5869 MB / 0.7785 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.6538, allocations: 37.31 kB / 0.7785 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.414e-05/0.6539, allocations: 59.94 kB / 0.7786 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/0.6549, allocations: 0.6206 MB / 0.7792 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.6549, allocations: 0 / 0.7792 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.6549, allocations: 24 kB / 0.7792 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.655, allocations: 17.31 kB / 0.7792 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000735/0.6557, allocations: 0.493 MB / 0.7797 GB, free: 7.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.002634/0.6584, allocations: 2.388 MB / 0.782 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.6589, allocations: 357.7 kB / 0.7824 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.6592, allocations: 213.3 kB / 0.7826 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/0.6597, allocations: 315.2 kB / 0.7829 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.6598, allocations: 46.34 kB / 0.7829 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.482e-06/0.6598, allocations: 0 / 0.7829 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001098/0.6609, allocations: 0.5474 MB / 0.7834 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.661, allocations: 51.41 kB / 0.7835 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.6615, allocations: 0.4989 MB / 0.784 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.6615, allocations: 37.7 kB / 0.784 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.6618, allocations: 316.5 kB / 0.7843 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.6619, allocations: 130.1 kB / 0.7844 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.6619, allocations: 37.7 kB / 0.7845 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6621, allocations: 366.8 kB / 0.7848 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.6623, allocations: 148.8 kB / 0.785 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.6626, allocations: 268.5 kB / 0.7852 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/0.6632, allocations: 406.8 kB / 0.7856 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6632, allocations: 4 kB / 0.7856 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006636/0.6639, allocations: 481.2 kB / 0.7861 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-05/0.664, allocations: 165.1 kB / 0.7862 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.664, allocations: 4 kB / 0.7862 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.664, allocations: 4 kB / 0.7862 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.6646, allocations: 99.89 kB / 0.7863 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003892/0.665, allocations: 0.6055 MB / 0.7869 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.6655, allocations: 73.14 kB / 0.787 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.6656, allocations: 12 kB / 0.787 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/0.6656, allocations: 7.938 kB / 0.787 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005745/0.6662, allocations: 399.8 kB / 0.7874 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.6662, allocations: 4.031 kB / 0.7874 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.6662, allocations: 8 kB / 0.7874 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.6665, allocations: 87.84 kB / 0.7875 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.6665, allocations: 4 kB / 0.7875 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.667, allocations: 67.55 kB / 0.7876 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.667, allocations: 20 kB / 0.7876 GB, free: 15.07 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 (49): * Single equations (assignments): 48 * 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.0003009/0.6673, allocations: 300.9 kB / 0.7879 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.6674, allocations: 59.28 kB / 0.7879 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007037/0.6681, allocations: 450.1 kB / 0.7883 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6681, allocations: 8 kB / 0.7884 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6682, allocations: 0 / 0.7884 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006199/0.6688, allocations: 0.6572 MB / 0.789 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.6703, allocations: 1.195 MB / 0.7902 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6704, allocations: 0 / 0.7902 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/0.6708, allocations: 95.88 kB / 0.7903 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6708, allocations: 4 kB / 0.7903 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.6708, allocations: 12 kB / 0.7903 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003074/0.6712, allocations: 0.6017 MB / 0.7909 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6712, allocations: 0 / 0.7909 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008439/0.672, allocations: 0.7403 MB / 0.7916 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.6722, allocations: 188.2 kB / 0.7918 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.6723, allocations: 8 kB / 0.7918 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.6727, allocations: 43.97 kB / 0.7918 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.6728, allocations: 15.97 kB / 0.7918 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.6728, allocations: 19.98 kB / 0.7918 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003788/0.6732, allocations: 354.8 kB / 0.7922 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6732, allocations: 0 / 0.7922 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008352/0.6741, allocations: 355 kB / 0.7925 GB, free: 9.738 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],senMasFra1.X) * 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 (35): * Single equations (assignments): 34 * 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.0004139/0.6745, allocations: 189.6 kB / 0.7927 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.6755, allocations: 0.5894 MB / 0.7933 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6755, allocations: 0 / 0.7933 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.6758, allocations: 190.9 kB / 0.7935 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.6777, allocations: 362.7 kB / 0.7938 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.6797, allocations: 1.707 MB / 0.7955 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.6802, allocations: 0.9456 MB / 0.7964 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.6804, allocations: 51.42 kB / 0.7964 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.6804, allocations: 0 / 0.7964 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of Templates: time 0.01586/0.6962, allocations: 12.63 MB / 0.8088 GB, free: 9.113 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.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.MassFractionCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.MassFractionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Sensors.Examples.MassFractionCalcHelperMain.o] Error 1