Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009597/0.0009597, allocations: 102.7 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.00138/0.00138, allocations: 170 kB / 16.58 MB, free: 6.035 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.556/1.556, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.3 MB / 427 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 16.64 kB / 0.5076 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2107, allocations: 82.32 MB / 0.588 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5858/0.7966, allocations: 169.9 MB / 0.7539 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00889/0.8055, allocations: 4.282 MB / 0.7581 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.8067, allocations: 31.75 kB / 0.7581 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.808, allocations: 282.2 kB / 0.7584 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.8119, allocations: 0.9991 MB / 0.7594 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.8141, allocations: 0.5731 MB / 0.7599 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003281/0.8173, allocations: 2.316 MB / 0.7622 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008626/0.8182, allocations: 489.9 kB / 0.7626 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.8206, allocations: 0.8481 MB / 0.7635 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.8216, allocations: 0.5642 MB / 0.764 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.565e-05/0.8217, allocations: 28 kB / 0.7641 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.8241, allocations: 0.8769 MB / 0.7649 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.8245, allocations: 243.3 kB / 0.7651 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.8247, allocations: 173.3 kB / 0.7653 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.8261, allocations: 1.005 MB / 0.7663 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.8262, allocations: 0 / 0.7663 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.256e-06/0.8262, allocations: 0 / 0.7663 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.8262, allocations: 0 / 0.7663 GB, free: 6.391 MB / 0.5762 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.0016/0.8278, allocations: 0.9662 MB / 0.7672 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.8278, allocations: 12.03 kB / 0.7672 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.8291, allocations: 202 kB / 0.7674 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008912/0.83, allocations: 0.5562 MB / 0.768 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.83, allocations: 45.31 kB / 0.768 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.231e-05/0.8301, allocations: 55.98 kB / 0.7681 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.8311, allocations: 0.6167 MB / 0.7687 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.8312, allocations: 0 / 0.7687 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.8312, allocations: 24 kB / 0.7687 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.8313, allocations: 21.31 kB / 0.7687 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.832, allocations: 496.9 kB / 0.7692 GB, free: 3.316 MB / 0.5762 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.003002/0.835, allocations: 2.396 MB / 0.7715 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.8356, allocations: 357.4 kB / 0.7719 GB, free: 368 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.8359, allocations: 204.8 kB / 0.7721 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/0.8365, allocations: 319.2 kB / 0.7724 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.8365, allocations: 43.16 kB / 0.7724 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.8365, allocations: 0 / 0.7724 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001112/0.8377, allocations: 0.5481 MB / 0.773 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.8377, allocations: 55.41 kB / 0.773 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.8383, allocations: 498.9 kB / 0.7735 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.8383, allocations: 33.7 kB / 0.7735 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.8386, allocations: 324.6 kB / 0.7738 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.8388, allocations: 130 kB / 0.7739 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.8388, allocations: 8 kB / 0.774 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.839, allocations: 366.7 kB / 0.7743 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.8392, allocations: 144.8 kB / 0.7744 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.8396, allocations: 268.5 kB / 0.7747 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.8399, allocations: 189.5 kB / 0.7749 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8399, allocations: 0 / 0.7749 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007071/0.8406, allocations: 478.2 kB / 0.7753 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.8407, allocations: 156.9 kB / 0.7755 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8407, allocations: 4 kB / 0.7755 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.8408, allocations: 8 kB / 0.7755 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.8413, allocations: 95.89 kB / 0.7756 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003843/0.8417, allocations: 0.6016 MB / 0.7762 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.8423, allocations: 63.59 kB / 0.7762 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.8423, allocations: 20 kB / 0.7763 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.313e-06/0.8423, allocations: 4 kB / 0.7763 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005767/0.8429, allocations: 403.5 kB / 0.7766 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.8429, allocations: 0 / 0.7766 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.843, allocations: 8 kB / 0.7766 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.8433, allocations: 83.91 kB / 0.7767 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.8433, allocations: 4 kB / 0.7767 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.8437, allocations: 76.95 kB / 0.7768 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.8438, allocations: 19.95 kB / 0.7768 GB, free: 11.07 MB / 0.5919 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 (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.0003414/0.8441, allocations: 300.9 kB / 0.7771 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.8442, allocations: 59.34 kB / 0.7772 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007095/0.8449, allocations: 437.2 kB / 0.7776 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.8449, allocations: 4 kB / 0.7776 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.845, allocations: 0.875 kB / 0.7776 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000653/0.8456, allocations: 0.6572 MB / 0.7782 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.8473, allocations: 1.207 MB / 0.7794 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8473, allocations: 0 / 0.7794 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.8477, allocations: 97.06 kB / 0.7795 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.8477, allocations: 7.953 kB / 0.7795 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.8478, allocations: 8 kB / 0.7795 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002975/0.8481, allocations: 0.594 MB / 0.7801 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8481, allocations: 4.031 kB / 0.7801 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008638/0.849, allocations: 0.7444 MB / 0.7808 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/0.8492, allocations: 176.4 kB / 0.781 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/0.8493, allocations: 8 kB / 0.781 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.8497, allocations: 47.91 kB / 0.7811 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.8497, allocations: 19.97 kB / 0.7811 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.8498, allocations: 19.92 kB / 0.7811 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003981/0.8502, allocations: 362.7 kB / 0.7814 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8502, allocations: 0 / 0.7814 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009532/0.8512, allocations: 351.1 kB / 0.7818 GB, free: 5.746 MB / 0.5919 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 (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.0004875/0.8516, allocations: 190.1 kB / 0.782 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.8528, allocations: 0.5744 MB / 0.7825 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.8528, allocations: 4.25 kB / 0.7825 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.8531, allocations: 192.6 kB / 0.7827 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.8548, allocations: 367.5 kB / 0.7831 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.8572, allocations: 1.712 MB / 0.7847 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.8577, allocations: 0.9417 MB / 0.7856 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.8579, allocations: 51.44 kB / 0.7857 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/0.8579, allocations: 0 / 0.7857 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of Templates: time 0.01952/0.8774, allocations: 12.63 MB / 0.798 GB, free: 5.148 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.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.MassFractionCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFractionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFractionCalcHelperMain.o] Error 1