Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Density,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFloRat.ports.1..m_flow|senDenVol.d|senDenFlo.d",fileNamePrefix="Buildings_9_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_9_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.001152/0.001153, 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.001836/0.001836, allocations: 174.4 kB / 16.58 MB, free: 6.359 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.658/1.658, 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/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.4 MB / 0.6662 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003642, allocations: 8 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8837/0.884, allocations: 142.3 MB / 0.9544 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2249/1.109, allocations: 168.3 MB / 1.119 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0108/1.12, allocations: 6.502 MB / 1.125 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/1.121, allocations: 27.81 kB / 1.125 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/1.122, allocations: 274.2 kB / 1.125 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003866/1.126, allocations: 1.054 MB / 1.126 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/1.13, allocations: 0.8307 MB / 1.127 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003626/1.133, allocations: 2.301 MB / 1.13 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009828/1.134, allocations: 496.1 kB / 1.13 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/1.136, allocations: 0.6847 MB / 1.131 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009855/1.137, allocations: 0.5681 MB / 1.131 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/1.137, allocations: 32 kB / 1.131 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/1.14, allocations: 1.138 MB / 1.132 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003172/1.14, allocations: 247.2 kB / 1.133 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002486/1.141, allocations: 177.3 kB / 1.133 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/1.142, allocations: 1.138 MB / 1.134 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.142, allocations: 0 / 1.134 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/1.142, allocations: 0 / 1.134 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.899e-06/1.142, allocations: 0 / 1.134 GB, free: 7.895 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001744/1.144, allocations: 1.038 MB / 1.135 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.144, allocations: 12.03 kB / 1.135 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/1.146, allocations: 270.8 kB / 1.135 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/1.147, allocations: 0.5524 MB / 1.136 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/1.147, allocations: 45.31 kB / 1.136 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/1.147, allocations: 59.89 kB / 1.136 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/1.148, allocations: 0.6362 MB / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/1.149, allocations: 0 / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/1.149, allocations: 20 kB / 1.136 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/1.149, allocations: 25.3 kB / 1.136 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009248/1.15, allocations: 0.5398 MB / 1.137 GB, free: 4.602 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.003041/1.153, allocations: 2.45 MB / 1.139 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/1.153, allocations: 359.5 kB / 1.14 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/1.154, allocations: 245.3 kB / 1.14 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/1.154, allocations: 319.6 kB / 1.14 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.154, allocations: 46.81 kB / 1.14 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/1.154, allocations: 0 / 1.14 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of matching and sorting (n=39): time 0.001351/1.156, allocations: 0.6301 MB / 1.141 GB, free: 280 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.156, allocations: 59.41 kB / 1.141 GB, free: 208 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/1.156, allocations: 499.1 kB / 1.141 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/1.156, allocations: 29.7 kB / 1.141 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/1.157, allocations: 328.4 kB / 1.142 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/1.157, allocations: 137.9 kB / 1.142 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/1.157, allocations: 8 kB / 1.142 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001735/1.157, allocations: 370.8 kB / 1.142 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/1.157, allocations: 176.8 kB / 1.142 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/1.158, allocations: 283.4 kB / 1.143 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/1.158, allocations: 215.8 kB / 1.143 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.158, allocations: 0 / 1.143 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008647/1.159, allocations: 0.5359 MB / 1.143 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/1.159, allocations: 157.7 kB / 1.144 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.159, allocations: 4 kB / 1.144 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.159, allocations: 4 kB / 1.144 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006964/1.16, allocations: 151.8 kB / 1.144 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004411/1.16, allocations: 0.5899 MB / 1.144 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/1.161, allocations: 87.56 kB / 1.144 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/1.161, allocations: 20 kB / 1.144 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.315e-06/1.161, allocations: 4 kB / 1.144 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007698/1.162, allocations: 472 kB / 1.145 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.162, allocations: 7.953 kB / 1.145 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/1.162, allocations: 4 kB / 1.145 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/1.162, allocations: 123.8 kB / 1.145 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/1.162, allocations: 4 kB / 1.145 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/1.163, allocations: 83.69 kB / 1.145 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/1.163, allocations: 20 kB / 1.145 GB, free: 11.83 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 (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.0003971/1.163, allocations: 301 kB / 1.145 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.213e-05/1.163, allocations: 63.25 kB / 1.145 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008838/1.164, allocations: 498.6 kB / 1.146 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.164, allocations: 4 kB / 1.146 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.164, allocations: 3.938 kB / 1.146 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008201/1.165, allocations: 0.716 MB / 1.147 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/1.167, allocations: 1.296 MB / 1.148 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.167, allocations: 4 kB / 1.148 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/1.168, allocations: 136.1 kB / 1.148 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/1.168, allocations: 4 kB / 1.148 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/1.168, allocations: 8 kB / 1.148 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003023/1.168, allocations: 0.5937 MB / 1.149 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.168, allocations: 7.984 kB / 1.149 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/1.169, allocations: 0.8173 MB / 1.149 GB, free: 7.152 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/1.169, allocations: 176.4 kB / 1.15 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/1.169, allocations: 12 kB / 1.15 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/1.17, allocations: 51.89 kB / 1.15 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/1.17, allocations: 31.92 kB / 1.15 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/1.17, allocations: 19.94 kB / 1.15 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004145/1.17, allocations: 346.8 kB / 1.15 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.17, allocations: 0 / 1.15 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001024/1.171, allocations: 363.1 kB / 1.15 GB, free: 6.156 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,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.000546/1.172, allocations: 211.2 kB / 1.151 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001423/1.173, allocations: 0.6675 MB / 1.151 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.173, allocations: 0 / 1.151 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004167/1.174, allocations: 232.9 kB / 1.151 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/1.175, allocations: 349.1 kB / 1.152 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/1.178, allocations: 1.792 MB / 1.154 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/1.179, allocations: 0.9457 MB / 1.154 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/1.179, allocations: 59.42 kB / 1.155 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of SimCode: time 9.22e-07/1.179, allocations: 4 kB / 1.155 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.01972/1.199, allocations: 12.91 MB / 1.167 GB, free: 5.012 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.Sensors.Examples.DensityCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.DensityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sensors.Examples.DensityCalcHelperMain.o] Error 1