Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009649/0.0009649, 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.001088/0.001088, allocations: 179.2 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.431/1.431, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 436.7 MB / 0.7113 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 8 kB / 0.8717 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.7811, allocations: 153.6 MB / 1.022 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2029/0.9841, allocations: 168.3 MB / 1.186 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.9952, allocations: 6.522 MB / 1.192 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.9964, allocations: 19.88 kB / 1.192 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.9975, allocations: 274.2 kB / 1.193 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00396/1.001, allocations: 1.057 MB / 1.194 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003087/1.005, allocations: 0.8349 MB / 1.195 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003579/1.008, allocations: 2.287 MB / 1.197 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009543/1.009, allocations: 0.5037 MB / 1.197 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/1.011, allocations: 0.6886 MB / 1.198 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/1.012, allocations: 0.572 MB / 1.199 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-05/1.012, allocations: 28 kB / 1.199 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/1.015, allocations: 1.13 MB / 1.2 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003572/1.016, allocations: 251.2 kB / 1.2 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003081/1.016, allocations: 177.3 kB / 1.2 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/1.018, allocations: 1.146 MB / 1.201 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.018, allocations: 0 / 1.201 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.933e-06/1.018, allocations: 0 / 1.201 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.678e-06/1.018, allocations: 0 / 1.201 GB, free: 8.777 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001809/1.02, allocations: 1.021 MB / 1.202 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.02, allocations: 11.98 kB / 1.202 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/1.022, allocations: 274.8 kB / 1.202 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/1.023, allocations: 0.5639 MB / 1.203 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/1.023, allocations: 41.31 kB / 1.203 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/1.023, allocations: 59.91 kB / 1.203 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/1.024, allocations: 0.6439 MB / 1.204 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/1.024, allocations: 4 kB / 1.204 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/1.024, allocations: 20 kB / 1.204 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/1.024, allocations: 17.31 kB / 1.204 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009508/1.025, allocations: 0.5282 MB / 1.204 GB, free: 5.488 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.003421/1.029, allocations: 2.453 MB / 1.207 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/1.029, allocations: 369 kB / 1.207 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/1.03, allocations: 243 kB / 1.207 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005826/1.03, allocations: 327.5 kB / 1.208 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/1.03, allocations: 34.89 kB / 1.208 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=39): time 2.465e-06/1.03, allocations: 0 / 1.208 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39): time 0.001394/1.032, allocations: 0.63 MB / 1.208 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.032, allocations: 55.41 kB / 1.208 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/1.032, allocations: 498.9 kB / 1.209 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/1.032, allocations: 37.7 kB / 1.209 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/1.033, allocations: 324.5 kB / 1.209 GB, free: 240 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.033, allocations: 141.9 kB / 1.209 GB, free: 96 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/1.033, allocations: 8 kB / 1.209 GB, free: 88 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.033, allocations: 370.8 kB / 1.21 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/1.033, allocations: 160.8 kB / 1.21 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/1.034, allocations: 295.3 kB / 1.21 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/1.034, allocations: 215.8 kB / 1.21 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.034, allocations: 0 / 1.21 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009099/1.035, allocations: 0.5356 MB / 1.211 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.035, allocations: 161 kB / 1.211 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.035, allocations: 4 kB / 1.211 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/1.035, allocations: 4 kB / 1.211 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007155/1.036, allocations: 139.8 kB / 1.211 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004237/1.036, allocations: 0.6016 MB / 1.212 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/1.037, allocations: 83.56 kB / 1.212 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/1.037, allocations: 20 kB / 1.212 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/1.037, allocations: 4 kB / 1.212 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008204/1.038, allocations: 459.5 kB / 1.212 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/1.038, allocations: 0 / 1.212 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/1.038, allocations: 8 kB / 1.212 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/1.038, allocations: 128.1 kB / 1.212 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.038, allocations: 11.88 kB / 1.212 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/1.039, allocations: 75.64 kB / 1.212 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/1.039, allocations: 19.98 kB / 1.212 GB, free: 12.72 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 (53): * Single equations (assignments): 52 * 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.0004423/1.039, allocations: 309 kB / 1.213 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/1.04, allocations: 59.25 kB / 1.213 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009568/1.041, allocations: 494.7 kB / 1.213 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.041, allocations: 4 kB / 1.213 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.041, allocations: 7.984 kB / 1.213 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008852/1.041, allocations: 0.716 MB / 1.214 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/1.043, allocations: 1.292 MB / 1.215 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/1.043, allocations: 8.031 kB / 1.215 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/1.044, allocations: 131.8 kB / 1.215 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/1.044, allocations: 0 / 1.215 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/1.044, allocations: 12 kB / 1.215 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003324/1.044, allocations: 0.5938 MB / 1.216 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.045, allocations: 7.938 kB / 1.216 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/1.046, allocations: 0.8142 MB / 1.217 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/1.046, allocations: 180.3 kB / 1.217 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/1.046, allocations: 20.02 kB / 1.217 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/1.047, allocations: 50 kB / 1.217 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/1.047, allocations: 35.94 kB / 1.217 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/1.047, allocations: 12 kB / 1.217 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004352/1.047, allocations: 346.8 kB / 1.217 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.047, allocations: 4 kB / 1.217 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001069/1.048, allocations: 359.2 kB / 1.218 GB, free: 7.043 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,senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * 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.0005149/1.049, allocations: 200.4 kB / 1.218 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001426/1.05, allocations: 0.6877 MB / 1.219 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.05, allocations: 4.062 kB / 1.219 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/1.051, allocations: 223.7 kB / 1.219 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/1.052, allocations: 369.1 kB / 1.219 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/1.055, allocations: 1.775 MB / 1.221 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/1.055, allocations: 0.9573 MB / 1.222 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/1.056, allocations: 59.42 kB / 1.222 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of SimCode: time 9.02e-07/1.056, allocations: 0 / 1.222 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of Templates: time 0.02027/1.076, allocations: 12.92 MB / 1.234 GB, free: 5.871 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.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.DensityCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.DensityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Sensors.Examples.DensityCalcHelperMain.o] Error 1