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.0008637/0.0008636, 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.001006/0.001006, allocations: 174.6 kB / 16.58 MB, free: 6.027 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.47/1.47, allocations: 223.3 MB / 240.6 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7619/0.7619, allocations: 132.3 MB / 424 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 8 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5708/0.5711, allocations: 81.58 MB / 0.5837 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.219/0.7902, allocations: 169.9 MB / 0.7496 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007689/0.798, allocations: 4.298 MB / 0.7538 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007448/0.7987, allocations: 23.88 kB / 0.7538 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009263/0.7997, allocations: 278.2 kB / 0.7541 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.8024, allocations: 0.9914 MB / 0.755 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.8041, allocations: 0.5814 MB / 0.7556 GB, free: 76 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002673/0.8068, allocations: 2.307 MB / 0.7579 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007005/0.8075, allocations: 499.3 kB / 0.7583 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.8094, allocations: 0.852 MB / 0.7592 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007598/0.8102, allocations: 0.5564 MB / 0.7597 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.875e-05/0.8102, allocations: 28 kB / 0.7597 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.8123, allocations: 0.873 MB / 0.7606 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.8126, allocations: 243.3 kB / 0.7608 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.8128, allocations: 181.3 kB / 0.761 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.814, allocations: 0.9937 MB / 0.762 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.814, allocations: 7.938 kB / 0.762 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.465e-06/0.814, allocations: 0 / 0.762 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.467e-06/0.814, allocations: 0 / 0.762 GB, free: 9.523 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001585/0.8156, allocations: 0.966 MB / 0.7629 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.8157, allocations: 8.031 kB / 0.7629 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.8169, allocations: 202.8 kB / 0.7631 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008839/0.8178, allocations: 0.5602 MB / 0.7637 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.8178, allocations: 41.31 kB / 0.7637 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.818, allocations: 56 kB / 0.7638 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.819, allocations: 0.6167 MB / 0.7644 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.819, allocations: 0 / 0.7644 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.8191, allocations: 20 kB / 0.7644 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.8191, allocations: 17.31 kB / 0.7644 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007719/0.8199, allocations: 0.493 MB / 0.7649 GB, free: 6.438 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.002915/0.8228, allocations: 2.392 MB / 0.7672 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/0.8234, allocations: 354.8 kB / 0.7676 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.8237, allocations: 205.3 kB / 0.7678 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005872/0.8243, allocations: 319.2 kB / 0.7681 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.8243, allocations: 42.41 kB / 0.7681 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.275e-06/0.8243, allocations: 4 kB / 0.7681 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001137/0.8255, allocations: 0.5357 MB / 0.7686 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.8255, allocations: 63.33 kB / 0.7687 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005761/0.8261, allocations: 0.495 MB / 0.7692 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.8262, allocations: 33.7 kB / 0.7692 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.8264, allocations: 316.5 kB / 0.7695 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.8265, allocations: 134.1 kB / 0.7696 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.8266, allocations: 12 kB / 0.7696 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.8268, allocations: 366.7 kB / 0.77 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.827, allocations: 140.8 kB / 0.7701 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.8273, allocations: 264.6 kB / 0.7704 GB, free: 444 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.8276, allocations: 186.1 kB / 0.7706 GB, free: 260 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8276, allocations: 0 / 0.7706 GB, free: 260 kB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007374/0.8283, allocations: 485.7 kB / 0.771 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.8285, allocations: 153 kB / 0.7712 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8285, allocations: 4 kB / 0.7712 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.8285, allocations: 8 kB / 0.7712 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.8291, allocations: 103.9 kB / 0.7713 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003891/0.8295, allocations: 0.5897 MB / 0.7719 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/0.83, allocations: 76.64 kB / 0.7719 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.8301, allocations: 20 kB / 0.7719 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.8301, allocations: 4 kB / 0.772 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006206/0.8307, allocations: 400 kB / 0.7723 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.8307, allocations: 0 / 0.7723 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.8308, allocations: 8 kB / 0.7723 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.8311, allocations: 91.83 kB / 0.7724 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.8311, allocations: 7.938 kB / 0.7724 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.8316, allocations: 67.55 kB / 0.7725 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.8316, allocations: 23.98 kB / 0.7725 GB, free: 14.18 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 (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.0003798/0.832, allocations: 301 kB / 0.7728 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/0.8321, allocations: 55.34 kB / 0.7729 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007517/0.8329, allocations: 446.1 kB / 0.7733 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.8329, allocations: 4 kB / 0.7733 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.8329, allocations: 0 / 0.7733 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006485/0.8335, allocations: 0.6572 MB / 0.7739 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.8352, allocations: 1.203 MB / 0.7751 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.8352, allocations: 0 / 0.7751 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.8357, allocations: 99.83 kB / 0.7752 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.8357, allocations: 4 kB / 0.7752 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.8357, allocations: 12 kB / 0.7752 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003374/0.8361, allocations: 0.5901 MB / 0.7758 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.8361, allocations: 4.031 kB / 0.7758 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.8371, allocations: 0.748 MB / 0.7765 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.8374, allocations: 180.3 kB / 0.7767 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.8375, allocations: 8 kB / 0.7767 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.8379, allocations: 35.97 kB / 0.7767 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.838, allocations: 23.97 kB / 0.7768 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.838, allocations: 19.95 kB / 0.7768 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004329/0.8384, allocations: 354.8 kB / 0.7771 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8385, allocations: 0 / 0.7771 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000971/0.8394, allocations: 351.1 kB / 0.7775 GB, free: 8.863 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],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.0004739/0.8399, allocations: 197.5 kB / 0.7776 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.841, allocations: 0.5775 MB / 0.7782 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8411, allocations: 0 / 0.7782 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.8414, allocations: 194.8 kB / 0.7784 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.843, allocations: 368.2 kB / 0.7787 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.8453, allocations: 1.712 MB / 0.7804 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/0.8458, allocations: 0.9378 MB / 0.7813 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.846, allocations: 55.44 kB / 0.7814 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of SimCode: time 8.02e-07/0.846, allocations: 3.938 kB / 0.7814 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of Templates: time 0.0176/0.8636, allocations: 12.62 MB / 0.7937 GB, free: 8.246 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile make -j1 -f IDEAS_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_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