Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001006/0.001006, allocations: 101.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.001837/0.001837, allocations: 172.9 kB / 16.58 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 222.8 MB, free: 5.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.7 MB / 0.5505 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005582/0.0005586, allocations: 16.34 kB / 0.6744 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2917, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.9038/1.196, allocations: 168.3 MB / 0.9523 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01408/1.21, allocations: 6.479 MB / 0.9586 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/1.211, allocations: 25.19 kB / 0.9586 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/1.212, allocations: 270 kB / 0.9589 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004485/1.217, allocations: 1.057 MB / 0.9599 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003459/1.22, allocations: 0.8367 MB / 0.9607 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004067/1.224, allocations: 2.277 MB / 0.963 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/1.226, allocations: 497.9 kB / 0.9634 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/1.228, allocations: 0.6848 MB / 0.9641 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/1.23, allocations: 0.5714 MB / 0.9647 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/1.23, allocations: 30.16 kB / 0.9647 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004576/1.235, allocations: 1.137 MB / 0.9658 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007195/1.236, allocations: 237.9 kB / 0.966 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/1.237, allocations: 178.4 kB / 0.9662 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003226/1.24, allocations: 1.143 MB / 0.9673 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.24, allocations: 0.8125 kB / 0.9673 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/1.24, allocations: 0 / 0.9673 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.267e-05/1.24, allocations: 0 / 0.9673 GB, free: 19.7 MB / 0.7325 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.003489/1.244, allocations: 1.024 MB / 0.9683 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/1.244, allocations: 9.625 kB / 0.9683 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/1.246, allocations: 273 kB / 0.9686 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/1.247, allocations: 0.5497 MB / 0.9691 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/1.247, allocations: 41.19 kB / 0.9692 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/1.247, allocations: 62.84 kB / 0.9692 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/1.249, allocations: 0.6351 MB / 0.9698 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/1.249, allocations: 3.578 kB / 0.9698 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.695e-05/1.249, allocations: 22.5 kB / 0.9699 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/1.249, allocations: 20.44 kB / 0.9699 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/1.25, allocations: 0.5289 MB / 0.9704 GB, free: 18.61 MB / 0.7325 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.003899/1.254, allocations: 2.453 MB / 0.9728 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007116/1.255, allocations: 384.6 kB / 0.9732 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/1.255, allocations: 239.8 kB / 0.9734 GB, free: 17.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006415/1.256, allocations: 317.3 kB / 0.9737 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/1.256, allocations: 40.69 kB / 0.9737 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.984e-06/1.256, allocations: 0 / 0.9737 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001522/1.257, allocations: 0.6295 MB / 0.9744 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/1.257, allocations: 54.81 kB / 0.9744 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/1.258, allocations: 0.4917 MB / 0.9749 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/1.258, allocations: 35.67 kB / 0.9749 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/1.258, allocations: 318.5 kB / 0.9752 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/1.258, allocations: 146.7 kB / 0.9754 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/1.258, allocations: 9.219 kB / 0.9754 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002113/1.259, allocations: 364.5 kB / 0.9757 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/1.259, allocations: 171.4 kB / 0.9759 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/1.259, allocations: 290.3 kB / 0.9762 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/1.26, allocations: 221.8 kB / 0.9764 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.26, allocations: 0 / 0.9764 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009171/1.261, allocations: 0.523 MB / 0.9769 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.261, allocations: 150.5 kB / 0.977 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.261, allocations: 3.562 kB / 0.977 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/1.261, allocations: 6.734 kB / 0.977 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/1.262, allocations: 145.6 kB / 0.9772 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004682/1.262, allocations: 0.5994 MB / 0.9778 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/1.263, allocations: 84.73 kB / 0.9778 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/1.263, allocations: 16.5 kB / 0.9779 GB, free: 15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/1.263, allocations: 7.594 kB / 0.9779 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007789/1.264, allocations: 466.3 kB / 0.9783 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.264, allocations: 0 / 0.9783 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/1.264, allocations: 8.484 kB / 0.9783 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004555/1.264, allocations: 130.6 kB / 0.9784 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.264, allocations: 9.438 kB / 0.9784 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/1.265, allocations: 73.81 kB / 0.9785 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/1.265, allocations: 16.25 kB / 0.9785 GB, free: 14.93 MB / 0.7325 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.000443/1.265, allocations: 305.3 kB / 0.9788 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.795e-05/1.265, allocations: 62.34 kB / 0.9789 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009376/1.266, allocations: 490.5 kB / 0.9794 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.266, allocations: 4.656 kB / 0.9794 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/1.266, allocations: 4.812 kB / 0.9794 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008746/1.267, allocations: 0.7102 MB / 0.9801 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/1.27, allocations: 1.285 MB / 0.9813 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.27, allocations: 3.953 kB / 0.9813 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/1.271, allocations: 142.5 kB / 0.9814 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/1.271, allocations: 6.125 kB / 0.9815 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/1.271, allocations: 11.3 kB / 0.9815 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003384/1.271, allocations: 0.5943 MB / 0.982 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.271, allocations: 10.8 kB / 0.9821 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/1.272, allocations: 0.8292 MB / 0.9829 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/1.272, allocations: 184.8 kB / 0.983 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/1.272, allocations: 11.06 kB / 0.9831 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/1.273, allocations: 51.42 kB / 0.9831 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.694e-05/1.273, allocations: 34.92 kB / 0.9831 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/1.273, allocations: 15.06 kB / 0.9831 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000423/1.273, allocations: 345.9 kB / 0.9835 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.273, allocations: 0 / 0.9835 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001131/1.275, allocations: 362.8 kB / 0.9838 GB, free: 12.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.0005628/1.275, allocations: 202.5 kB / 0.984 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001343/1.277, allocations: 0.6861 MB / 0.9847 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/1.277, allocations: 0 / 0.9847 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/1.277, allocations: 232.2 kB / 0.9849 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/1.279, allocations: 362.8 kB / 0.9853 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/1.281, allocations: 1.76 MB / 0.987 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/1.282, allocations: 0.9461 MB / 0.9879 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/1.282, allocations: 52.28 kB / 0.9879 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/1.282, allocations: 0 / 0.9879 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of Templates: time 0.02011/1.302, allocations: 12.93 MB / 1.001 GB, free: 3.203 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile make -j1 -f Buildings_8_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.DensityCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.DensityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.DensityCalcHelperMain.o] Error 1