Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009411/0.0009411, allocations: 93.95 kB / 16.33 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 187.7 kB / 17.23 MB, free: 5.477 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.522/1.522, allocations: 223.2 MB / 241.2 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7757/0.7757, allocations: 114.3 MB / 406.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 8 kB / 494.4 MB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4813, allocations: 77.25 MB / 0.5583 GB, free: 36.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.2271/0.7084, allocations: 168.3 MB / 0.7227 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.7192, allocations: 6.521 MB / 0.729 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.7205, allocations: 27.81 kB / 0.7291 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.7215, allocations: 270.2 kB / 0.7293 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003707/0.7252, allocations: 1.057 MB / 0.7303 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.7282, allocations: 0.8317 MB / 0.7312 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003465/0.7317, allocations: 2.289 MB / 0.7334 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009663/0.7327, allocations: 496.1 kB / 0.7339 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.7344, allocations: 0.6924 MB / 0.7345 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.7355, allocations: 0.5642 MB / 0.7351 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.523e-05/0.7356, allocations: 28 kB / 0.7351 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.7388, allocations: 1.15 MB / 0.7362 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003922/0.7392, allocations: 239.3 kB / 0.7365 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.7395, allocations: 177.3 kB / 0.7366 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.7414, allocations: 1.15 MB / 0.7378 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.7414, allocations: 0 / 0.7378 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7414, allocations: 0 / 0.7378 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.7414, allocations: 0 / 0.7378 GB, free: 12.77 MB / 0.5762 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.00177/0.7432, allocations: 1.017 MB / 0.7388 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.7432, allocations: 12.03 kB / 0.7388 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.745, allocations: 274.7 kB / 0.739 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009764/0.746, allocations: 0.5563 MB / 0.7396 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.7461, allocations: 53.19 kB / 0.7396 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.861e-05/0.7462, allocations: 52 kB / 0.7397 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.7474, allocations: 0.6401 MB / 0.7403 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.7474, allocations: 0 / 0.7403 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.7474, allocations: 20 kB / 0.7403 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.7475, allocations: 21.31 kB / 0.7403 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.7484, allocations: 0.5321 MB / 0.7409 GB, free: 9.492 MB / 0.5762 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.003194/0.7516, allocations: 2.461 MB / 0.7433 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.7523, allocations: 371.4 kB / 0.7436 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.7527, allocations: 240.6 kB / 0.7438 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.7533, allocations: 315.6 kB / 0.7441 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.7534, allocations: 38.89 kB / 0.7442 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 2.505e-06/0.7534, allocations: 0 / 0.7442 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.001441/0.7549, allocations: 0.6339 MB / 0.7448 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.7549, allocations: 55.41 kB / 0.7449 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006141/0.7555, allocations: 0.4951 MB / 0.7453 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.7556, allocations: 33.64 kB / 0.7454 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.7559, allocations: 328.4 kB / 0.7457 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.756, allocations: 137.9 kB / 0.7458 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.7561, allocations: 15.94 kB / 0.7458 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.7563, allocations: 362.8 kB / 0.7462 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.7566, allocations: 176.8 kB / 0.7463 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.757, allocations: 283.4 kB / 0.7466 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.7574, allocations: 215.8 kB / 0.7468 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.7574, allocations: 4 kB / 0.7468 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009155/0.7583, allocations: 0.5281 MB / 0.7473 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.7585, allocations: 156.7 kB / 0.7475 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.7585, allocations: 0 / 0.7475 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.7585, allocations: 4 kB / 0.7475 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.7593, allocations: 151.8 kB / 0.7476 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004344/0.7597, allocations: 0.5977 MB / 0.7482 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006298/0.7603, allocations: 83.58 kB / 0.7483 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.7604, allocations: 16 kB / 0.7483 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.7604, allocations: 8 kB / 0.7483 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007963/0.7612, allocations: 456.1 kB / 0.7488 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7612, allocations: 8.031 kB / 0.7488 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.7613, allocations: 4 kB / 0.7488 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.7617, allocations: 127.8 kB / 0.7489 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7617, allocations: 7.984 kB / 0.7489 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.7623, allocations: 83.55 kB / 0.749 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.7623, allocations: 20 kB / 0.749 GB, free: 0.7148 MB / 0.5762 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.0004161/0.7627, allocations: 308.9 kB / 0.7493 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/0.7628, allocations: 59.34 kB / 0.7493 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5522/1.315, allocations: 483.7 kB / 0.7498 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/1.315, allocations: 4.031 kB / 0.7498 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.315, allocations: 1.641 kB / 0.7498 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001299/1.316, allocations: 0.7143 MB / 0.7505 GB, free: 20.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/1.32, allocations: 1.297 MB / 0.7518 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.32, allocations: 2.438 kB / 0.7518 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/1.32, allocations: 132.9 kB / 0.7519 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/1.32, allocations: 3.75 kB / 0.7519 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/1.321, allocations: 15.3 kB / 0.7519 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002894/1.321, allocations: 0.5992 MB / 0.7525 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/1.321, allocations: 3.281 kB / 0.7525 GB, free: 19.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/1.322, allocations: 0.8089 MB / 0.7533 GB, free: 19.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/1.323, allocations: 180.6 kB / 0.7535 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/1.323, allocations: 10.66 kB / 0.7535 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/1.324, allocations: 54.36 kB / 0.7535 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.324, allocations: 30.73 kB / 0.7536 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/1.324, allocations: 19.77 kB / 0.7536 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006906/1.325, allocations: 352.7 kB / 0.7539 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/1.325, allocations: 1.031 kB / 0.7539 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001794/1.327, allocations: 356.3 kB / 0.7543 GB, free: 18.86 MB / 0.5762 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.0007159/1.327, allocations: 203.6 kB / 0.7545 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002158/1.329, allocations: 0.6745 MB / 0.7551 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.329, allocations: 1.281 kB / 0.7551 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007095/1.33, allocations: 224.3 kB / 0.7553 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/1.332, allocations: 375.3 kB / 0.7557 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/1.336, allocations: 1.782 MB / 0.7574 GB, free: 17.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008315/1.337, allocations: 0.9466 MB / 0.7584 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/1.338, allocations: 55.42 kB / 0.7584 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of SimCode: time 9.32e-07/1.338, allocations: 0 / 0.7584 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.03855/1.376, allocations: 12.93 MB / 0.771 GB, free: 16.12 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Fluid.Sensors.Examples.DensityCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Sensors.Examples.DensityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Sensors.Examples.DensityCalcHelperMain.o] Error 1