Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.Xi.1.|senMasFra1.X|senMasFra2.X",fileNamePrefix="Buildings_latest_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_latest_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.001221/0.00122, allocations: 100.5 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.001886/0.001885, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.51/1.51, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.867/2.867, allocations: 436.7 MB / 0.7113 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003825, allocations: 12 kB / 0.8717 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6972/0.6977, allocations: 153.7 MB / 1.022 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1785/0.8762, allocations: 169.9 MB / 1.188 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006984/0.8832, allocations: 4.295 MB / 1.192 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007623/0.884, allocations: 27.81 kB / 1.192 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008872/0.8849, allocations: 270.2 kB / 1.192 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.8875, allocations: 0.9991 MB / 1.193 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.8891, allocations: 0.5904 MB / 1.194 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002526/0.8916, allocations: 2.312 MB / 1.196 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007301/0.8924, allocations: 495.3 kB / 1.196 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.8941, allocations: 0.8481 MB / 1.197 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007368/0.8949, allocations: 0.5603 MB / 1.198 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.881e-05/0.895, allocations: 28 kB / 1.198 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.8968, allocations: 0.8769 MB / 1.199 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.897, allocations: 239.3 kB / 1.199 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.8972, allocations: 173.3 kB / 1.199 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.8983, allocations: 1.009 MB / 1.2 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8983, allocations: 4 kB / 1.2 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8983, allocations: 0 / 1.2 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.8984, allocations: 0 / 1.2 GB, free: 9.98 MB / 0.9512 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.001459/0.8998, allocations: 0.9559 MB / 1.201 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.8999, allocations: 11.98 kB / 1.201 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.9011, allocations: 206.8 kB / 1.201 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008583/0.9019, allocations: 0.5564 MB / 1.202 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.902, allocations: 41.31 kB / 1.202 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/0.9021, allocations: 59.94 kB / 1.202 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009339/0.903, allocations: 0.6205 MB / 1.202 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.903, allocations: 4 kB / 1.202 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.9031, allocations: 24 kB / 1.202 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.9031, allocations: 17.31 kB / 1.202 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007381/0.9039, allocations: 0.4891 MB / 1.203 GB, free: 6.891 MB / 0.9512 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.002709/0.9066, allocations: 2.392 MB / 1.205 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.9072, allocations: 358.7 kB / 1.206 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.9075, allocations: 211 kB / 1.206 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005275/0.908, allocations: 315.2 kB / 1.206 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.908, allocations: 42.42 kB / 1.206 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=36): time 2.284e-06/0.908, allocations: 0 / 1.206 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36): time 0.001038/0.9091, allocations: 0.5533 MB / 1.207 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.9091, allocations: 55.41 kB / 1.207 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.9097, allocations: 0.4949 MB / 1.207 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.9097, allocations: 37.7 kB / 1.207 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.9099, allocations: 311.9 kB / 1.208 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.91, allocations: 130 kB / 1.208 GB, free: 1.699 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.9101, allocations: 12 kB / 1.208 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.9102, allocations: 362.8 kB / 1.208 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.9104, allocations: 148.8 kB / 1.208 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.9107, allocations: 251.8 kB / 1.208 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.911, allocations: 189.5 kB / 1.209 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.911, allocations: 0 / 1.209 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006662/0.9117, allocations: 489.7 kB / 1.209 GB, free: 228 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.249e-05/0.9118, allocations: 154.5 kB / 1.209 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.9118, allocations: 4.062 kB / 1.209 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.9118, allocations: 8 kB / 1.209 GB, free: 28 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.9124, allocations: 99.88 kB / 1.209 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003465/0.9128, allocations: 0.6016 MB / 1.21 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005227/0.9133, allocations: 75.58 kB / 1.21 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.9133, allocations: 16 kB / 1.21 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.085e-06/0.9134, allocations: 4 kB / 1.21 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005836/0.914, allocations: 407.8 kB / 1.21 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.914, allocations: 8.281 kB / 1.21 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.341e-06/0.914, allocations: 4 kB / 1.21 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.9143, allocations: 79.91 kB / 1.211 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.9143, allocations: 8 kB / 1.211 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.9148, allocations: 75.48 kB / 1.211 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.9148, allocations: 23.98 kB / 1.211 GB, free: 14.62 MB / 0.9669 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.0002988/0.9151, allocations: 300.9 kB / 1.211 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.9152, allocations: 59.34 kB / 1.211 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006895/0.9159, allocations: 451.6 kB / 1.211 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.9159, allocations: 4 kB / 1.211 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9159, allocations: 0 / 1.211 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005796/0.9165, allocations: 0.6518 MB / 1.212 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.9181, allocations: 1.21 MB / 1.213 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.9181, allocations: 4 kB / 1.213 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.9186, allocations: 91.83 kB / 1.213 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.9186, allocations: 4 kB / 1.213 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.9186, allocations: 11.98 kB / 1.213 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000301/0.9189, allocations: 0.6057 MB / 1.214 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9189, allocations: 0 / 1.214 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008543/0.9198, allocations: 0.7084 MB / 1.215 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.92, allocations: 176.4 kB / 1.215 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.519e-05/0.9201, allocations: 11.95 kB / 1.215 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004011/0.9205, allocations: 43.97 kB / 1.215 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.9206, allocations: 19.97 kB / 1.215 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.9206, allocations: 16 kB / 1.215 GB, free: 10 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004034/0.921, allocations: 362.8 kB / 1.215 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.921, allocations: 4 kB / 1.215 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009178/0.9219, allocations: 343.1 kB / 1.216 GB, free: 9.312 MB / 0.9669 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.0004757/0.9224, allocations: 203.2 kB / 1.216 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.9235, allocations: 0.5816 MB / 1.216 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9235, allocations: 1.125 kB / 1.216 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.9238, allocations: 192.1 kB / 1.216 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.9256, allocations: 347.2 kB / 1.217 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.9285, allocations: 1.726 MB / 1.219 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/0.9291, allocations: 0.9417 MB / 1.219 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.9293, allocations: 55.42 kB / 1.219 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of SimCode: time 2.024e-06/0.9293, allocations: 0 / 1.219 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of Templates: time 0.01762/0.9469, allocations: 12.58 MB / 1.232 GB, free: 8.703 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MassFraction.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.MassFractionCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.MassFractionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.MassFractionCalcHelperMain.o] Error 1