Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_9_Buildings.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.0009223/0.0009225, allocations: 99.36 kB / 15.71 MB, free: 452 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.001347/0.001347, allocations: 174.6 kB / 16.58 MB, free: 6.418 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.551/1.551, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.567/2.567, allocations: 390.5 MB / 0.6662 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 8 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9795/0.9799, allocations: 142.3 MB / 0.9544 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.2063/1.186, allocations: 169.9 MB / 1.12 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007714/1.194, allocations: 4.294 MB / 1.125 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009719/1.195, allocations: 23.81 kB / 1.125 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/1.196, allocations: 278.2 kB / 1.125 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003027/1.199, allocations: 0.9991 MB / 1.126 GB, free: 220 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/1.201, allocations: 0.5835 MB / 1.126 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003026/1.204, allocations: 2.303 MB / 1.129 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008344/1.205, allocations: 491.3 kB / 1.129 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/1.207, allocations: 0.8598 MB / 1.13 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000975/1.208, allocations: 0.5564 MB / 1.13 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-05/1.208, allocations: 32 kB / 1.131 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/1.21, allocations: 0.873 MB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/1.21, allocations: 243.3 kB / 1.132 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/1.211, allocations: 173.3 kB / 1.132 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/1.212, allocations: 1.001 MB / 1.133 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.597e-06/1.212, allocations: 0 / 1.133 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.765e-06/1.212, allocations: 0 / 1.133 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.212, allocations: 0 / 1.133 GB, free: 9.086 MB / 0.8887 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.001841/1.214, allocations: 0.9543 MB / 1.134 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.214, allocations: 12.03 kB / 1.134 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/1.215, allocations: 206.8 kB / 1.134 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009051/1.216, allocations: 0.564 MB / 1.134 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/1.216, allocations: 45.25 kB / 1.134 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.559e-05/1.216, allocations: 59.94 kB / 1.135 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009747/1.217, allocations: 0.6167 MB / 1.135 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/1.217, allocations: 0 / 1.135 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/1.217, allocations: 20 kB / 1.135 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/1.218, allocations: 25.31 kB / 1.135 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/1.218, allocations: 0.4891 MB / 1.136 GB, free: 5.996 MB / 0.8887 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.00262/1.221, allocations: 2.392 MB / 1.138 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/1.221, allocations: 359.2 kB / 1.138 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/1.222, allocations: 204.8 kB / 1.139 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005155/1.222, allocations: 323.2 kB / 1.139 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/1.222, allocations: 38.56 kB / 1.139 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/1.222, allocations: 0 / 1.139 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=36): time 0.001056/1.223, allocations: 0.5599 MB / 1.139 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/1.223, allocations: 55.41 kB / 1.139 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/1.224, allocations: 0.495 MB / 1.14 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/1.224, allocations: 33.7 kB / 1.14 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/1.224, allocations: 315.9 kB / 1.14 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/1.224, allocations: 134 kB / 1.14 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/1.224, allocations: 8 kB / 1.14 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.224, allocations: 366.8 kB / 1.141 GB, free: 420 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/1.225, allocations: 140.8 kB / 1.141 GB, free: 280 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/1.225, allocations: 255.8 kB / 1.141 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/1.225, allocations: 189.5 kB / 1.141 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.225, allocations: 4 kB / 1.141 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006558/1.226, allocations: 485.4 kB / 1.142 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.772e-05/1.226, allocations: 157 kB / 1.142 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.226, allocations: 0 / 1.142 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.226, allocations: 4 kB / 1.142 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/1.227, allocations: 107.9 kB / 1.142 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003534/1.227, allocations: 0.5899 MB / 1.143 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/1.227, allocations: 79.64 kB / 1.143 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/1.228, allocations: 20 kB / 1.143 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/1.228, allocations: 4 kB / 1.143 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005854/1.228, allocations: 407.8 kB / 1.143 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.228, allocations: 7.984 kB / 1.143 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/1.228, allocations: 4 kB / 1.143 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/1.229, allocations: 87.86 kB / 1.143 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.229, allocations: 7.938 kB / 1.143 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/1.229, allocations: 75.83 kB / 1.143 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/1.229, allocations: 19.98 kB / 1.143 GB, free: 13.71 MB / 0.9044 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.0003104/1.229, allocations: 305 kB / 1.144 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/1.229, allocations: 55.34 kB / 1.144 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00067/1.23, allocations: 439.6 kB / 1.144 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.23, allocations: 7.953 kB / 1.144 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.23, allocations: 0 / 1.144 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005839/1.231, allocations: 0.6571 MB / 1.145 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/1.232, allocations: 1.212 MB / 1.146 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.232, allocations: 0 / 1.146 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/1.233, allocations: 91.89 kB / 1.146 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/1.233, allocations: 8.219 kB / 1.146 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/1.233, allocations: 11.98 kB / 1.146 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003127/1.233, allocations: 0.586 MB / 1.147 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.233, allocations: 4 kB / 1.147 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008326/1.234, allocations: 0.7117 MB / 1.147 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/1.234, allocations: 176.4 kB / 1.147 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/1.234, allocations: 12 kB / 1.147 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/1.235, allocations: 39.97 kB / 1.148 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/1.235, allocations: 31.86 kB / 1.148 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/1.235, allocations: 19.94 kB / 1.148 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004145/1.235, allocations: 354.8 kB / 1.148 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.235, allocations: 0 / 1.148 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009219/1.236, allocations: 347.1 kB / 1.148 GB, free: 8.422 MB / 0.9044 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.0004368/1.237, allocations: 203.5 kB / 1.148 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.238, allocations: 0.5784 MB / 1.149 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.238, allocations: 0 / 1.149 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/1.238, allocations: 192.7 kB / 1.149 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.24, allocations: 359.9 kB / 1.15 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/1.242, allocations: 1.718 MB / 1.151 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/1.242, allocations: 0.9417 MB / 1.152 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/1.242, allocations: 55.38 kB / 1.152 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/1.242, allocations: 4 kB / 1.152 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of Templates: time 0.01669/1.259, allocations: 12.58 MB / 1.164 GB, free: 7.809 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.makefile make -j1 -f Buildings_9_Buildings.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 OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.MassFractionCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.MassFractionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.MassFractionCalcHelperMain.o] Error 1