Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001/0.0009998, allocations: 103 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.001481/0.001482, allocations: 177.8 kB / 16.58 MB, free: 6.145 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.538/1.538, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.098/1.098, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003694, allocations: 16 kB / 0.5166 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 83.42 MB / 0.5981 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.6952/0.921, allocations: 170 MB / 0.7641 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00902/0.9301, allocations: 4.285 MB / 0.7682 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.9313, allocations: 27.81 kB / 0.7683 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.9325, allocations: 278.2 kB / 0.7685 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.9364, allocations: 0.9992 MB / 0.7695 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.9386, allocations: 0.5731 MB / 0.7701 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00399/0.9426, allocations: 2.311 MB / 0.7723 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.9436, allocations: 499.2 kB / 0.7728 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.9464, allocations: 0.8559 MB / 0.7736 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.9476, allocations: 0.5603 MB / 0.7742 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.831e-05/0.9477, allocations: 32 kB / 0.7742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.9503, allocations: 0.8614 MB / 0.7751 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.9507, allocations: 255.2 kB / 0.7753 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.951, allocations: 169.3 kB / 0.7755 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.9526, allocations: 1.052 MB / 0.7765 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.9527, allocations: 0 / 0.7765 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9527, allocations: 0 / 0.7765 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.9527, allocations: 0 / 0.7765 GB, free: 5.395 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.001749/0.9544, allocations: 0.9579 MB / 0.7774 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.9545, allocations: 8.031 kB / 0.7774 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.9557, allocations: 214.8 kB / 0.7776 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.9568, allocations: 0.5563 MB / 0.7782 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.9568, allocations: 37.31 kB / 0.7782 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.786e-05/0.9569, allocations: 63.89 kB / 0.7783 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.958, allocations: 0.6128 MB / 0.7789 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.958, allocations: 4 kB / 0.7789 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/0.9581, allocations: 24 kB / 0.7789 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.9581, allocations: 17.31 kB / 0.7789 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.9589, allocations: 0.4892 MB / 0.7794 GB, free: 2.316 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.003293/0.9622, allocations: 2.4 MB / 0.7817 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/0.9629, allocations: 351.8 kB / 0.7821 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.9632, allocations: 217.3 kB / 0.7823 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006173/0.9639, allocations: 319.2 kB / 0.7826 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.9639, allocations: 42.42 kB / 0.7826 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.995e-06/0.9639, allocations: 0 / 0.7826 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001187/0.9651, allocations: 0.5467 MB / 0.7832 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.9652, allocations: 55.41 kB / 0.7832 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005976/0.9658, allocations: 498.9 kB / 0.7837 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.9658, allocations: 37.7 kB / 0.7837 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.9661, allocations: 315.9 kB / 0.784 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.9662, allocations: 130 kB / 0.7841 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.9663, allocations: 8 kB / 0.7842 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.9664, allocations: 370.7 kB / 0.7845 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.9667, allocations: 144.8 kB / 0.7846 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.967, allocations: 259.8 kB / 0.7849 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.9673, allocations: 186.2 kB / 0.7851 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9673, allocations: 0 / 0.7851 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007422/0.9681, allocations: 489.4 kB / 0.7855 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.9682, allocations: 149 kB / 0.7857 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.9682, allocations: 12.55 kB / 0.7857 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.9683, allocations: 4 kB / 0.7857 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005628/0.9688, allocations: 103.8 kB / 0.7858 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004284/0.9693, allocations: 0.5938 MB / 0.7864 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/0.9699, allocations: 76.22 kB / 0.7864 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.9699, allocations: 23.98 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.9699, allocations: 4 kB / 0.7865 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000627/0.9706, allocations: 399.8 kB / 0.7869 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9706, allocations: 4 kB / 0.7869 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.9706, allocations: 4 kB / 0.7869 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.9709, allocations: 94.7 kB / 0.787 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.9709, allocations: 4.281 kB / 0.787 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.9714, allocations: 75.64 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.9715, allocations: 20 kB / 0.7871 GB, free: 10.04 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.0003887/0.9719, allocations: 305.6 kB / 0.7873 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.324e-05/0.972, allocations: 59.25 kB / 0.7874 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007407/0.9727, allocations: 451.5 kB / 0.7878 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.9727, allocations: 0 / 0.7878 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.9727, allocations: 7.984 kB / 0.7878 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006476/0.9734, allocations: 0.6519 MB / 0.7885 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.9751, allocations: 1.207 MB / 0.7897 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.9751, allocations: 4.219 kB / 0.7897 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.9756, allocations: 95.83 kB / 0.7897 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.9756, allocations: 4 kB / 0.7898 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.9757, allocations: 11.95 kB / 0.7898 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003553/0.976, allocations: 0.5859 MB / 0.7903 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.976, allocations: 8.672 kB / 0.7903 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.977, allocations: 0.7163 MB / 0.791 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.9772, allocations: 180.3 kB / 0.7912 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.9773, allocations: 9.062 kB / 0.7912 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.9777, allocations: 35.97 kB / 0.7913 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.9778, allocations: 23.97 kB / 0.7913 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.9778, allocations: 19.98 kB / 0.7913 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004394/0.9782, allocations: 350.8 kB / 0.7916 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9783, allocations: 0 / 0.7916 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00103/0.9793, allocations: 351.1 kB / 0.792 GB, free: 4.738 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.000554/0.9799, allocations: 195.2 kB / 0.7922 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.981, allocations: 0.5876 MB / 0.7927 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.9811, allocations: 0 / 0.7927 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.9814, allocations: 189 kB / 0.7929 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.9831, allocations: 372 kB / 0.7933 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.9858, allocations: 1.719 MB / 0.7949 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/0.9865, allocations: 0.9455 MB / 0.7959 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.9867, allocations: 47.44 kB / 0.7959 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of SimCode: time 8.32e-07/0.9867, allocations: 0 / 0.7959 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of Templates: time 0.02064/1.007, allocations: 12.62 MB / 0.8082 GB, free: 4.152 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFractionCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFractionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFractionCalcHelperMain.o] Error 1