Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01026/0.01026, allocations: 100.3 kB / 15.87 MB, free: 5.863 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.001804/0.001804, allocations: 193.2 kB / 16.79 MB, free: 5.805 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.816/1.816, allocations: 205.1 MB / 222.6 MB, free: 4.668 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.812/1.812, allocations: 292.3 MB / 0.5491 GB, free: 13.68 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.001379/0.001379, allocations: 70.67 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3322, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8595/1.192, allocations: 167.2 MB / 0.9466 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009362/1.201, allocations: 7.348 MB / 0.9538 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/1.202, allocations: 9.312 kB / 0.9538 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009528/1.203, allocations: 174.3 kB / 0.954 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002672/1.206, allocations: 0.542 MB / 0.9545 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/1.208, allocations: 381.6 kB / 0.9549 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003136/1.211, allocations: 1.025 MB / 0.9559 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007829/1.212, allocations: 226.7 kB / 0.9561 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001265/1.214, allocations: 342.1 kB / 0.9564 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006342/1.214, allocations: 235.8 kB / 0.9566 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.009e-05/1.214, allocations: 13.34 kB / 0.9566 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/1.217, allocations: 0.7772 MB / 0.9574 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/1.217, allocations: 101.2 kB / 0.9575 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003832/1.218, allocations: 150 kB / 0.9576 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/1.219, allocations: 404.8 kB / 0.958 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/1.219, allocations: 0 / 0.958 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.813e-06/1.219, allocations: 0 / 0.958 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.219, allocations: 0 / 0.958 GB, free: 5.316 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.002043/1.221, allocations: 0.6447 MB / 0.9587 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.747e-05/1.221, allocations: 9.312 kB / 0.9587 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005489/1.221, allocations: 64.77 kB / 0.9587 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/1.222, allocations: 309.5 kB / 0.959 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.046e-05/1.222, allocations: 17.44 kB / 0.959 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/1.222, allocations: 23.25 kB / 0.9591 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007961/1.223, allocations: 297.5 kB / 0.9593 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/1.223, allocations: 2.391 kB / 0.9593 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/1.223, allocations: 20.16 kB / 0.9594 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/1.223, allocations: 5.656 kB / 0.9594 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/1.224, allocations: 174.3 kB / 0.9595 GB, free: 20.45 MB / 0.7481 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.002681/1.227, allocations: 1.7 MB / 0.9612 GB, free: 19.14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/1.227, allocations: 91.58 kB / 0.9613 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/1.227, allocations: 79.83 kB / 0.9614 GB, free: 19.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004912/1.228, allocations: 188.5 kB / 0.9615 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/1.228, allocations: 39.56 kB / 0.9616 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/1.228, allocations: 4.531 kB / 0.9616 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.001055/1.229, allocations: 215.8 kB / 0.9618 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.229, allocations: 58.86 kB / 0.9618 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/1.229, allocations: 324.3 kB / 0.9622 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/1.23, allocations: 30.86 kB / 0.9622 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/1.23, allocations: 199.5 kB / 0.9624 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/1.23, allocations: 38.95 kB / 0.9624 GB, free: 18.47 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/1.23, allocations: 49.12 kB / 0.9625 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002183/1.23, allocations: 341.4 kB / 0.9628 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/1.23, allocations: 64.8 kB / 0.9628 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/1.231, allocations: 189 kB / 0.963 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003635/1.231, allocations: 235 kB / 0.9632 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.231, allocations: 2.578 kB / 0.9632 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005078/1.232, allocations: 257.2 kB / 0.9635 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.232, allocations: 7.625 kB / 0.9635 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.232, allocations: 2.625 kB / 0.9635 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.232, allocations: 5.094 kB / 0.9635 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/1.232, allocations: 49.14 kB / 0.9636 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/1.232, allocations: 8.562 kB / 0.9636 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/1.232, allocations: 41.83 kB / 0.9636 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/1.232, allocations: 14.09 kB / 0.9636 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002722/1.232, allocations: 171 kB / 0.9638 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002176/1.233, allocations: 189 kB / 0.964 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000332/1.233, allocations: 235.2 kB / 0.9642 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/1.233, allocations: 6.25 kB / 0.9642 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004966/1.234, allocations: 248.8 kB / 0.9644 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.234, allocations: 11.72 kB / 0.9644 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.234, allocations: 9.031 kB / 0.9644 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/1.234, allocations: 5.844 kB / 0.9645 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/1.234, allocations: 46.41 kB / 0.9645 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.234, allocations: 8.562 kB / 0.9645 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/1.234, allocations: 25.16 kB / 0.9645 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/1.234, allocations: 17.05 kB / 0.9645 GB, free: 17.32 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/1.234, allocations: 193.7 kB / 0.9647 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/1.234, allocations: 37.97 kB / 0.9648 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/1.235, allocations: 168.5 kB / 0.9649 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.235, allocations: 2.359 kB / 0.9649 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.235, allocations: 0 / 0.9649 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.235, allocations: 1.312 kB / 0.9649 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000955/1.236, allocations: 0.6113 MB / 0.9655 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/1.236, allocations: 5.031 kB / 0.9655 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/1.236, allocations: 29.28 kB / 0.9656 GB, free: 16.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.236, allocations: 7.531 kB / 0.9656 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/1.236, allocations: 2.656 kB / 0.9656 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/1.236, allocations: 6.188 kB / 0.9656 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.236, allocations: 2.25 kB / 0.9656 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/1.236, allocations: 302 kB / 0.9659 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/1.236, allocations: 115.2 kB / 0.966 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/1.236, allocations: 3.531 kB / 0.966 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/1.237, allocations: 23.22 kB / 0.966 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/1.237, allocations: 15.08 kB / 0.966 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/1.237, allocations: 4.875 kB / 0.966 GB, free: 16.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000264/1.237, allocations: 228.5 kB / 0.9662 GB, free: 16.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.237, allocations: 0 / 0.9662 GB, free: 16.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006817/1.238, allocations: 136.4 kB / 0.9664 GB, free: 16.29 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004612/1.238, allocations: 167.1 kB / 0.9665 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005861/1.239, allocations: 240.8 kB / 0.9668 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.239, allocations: 5.219 kB / 0.9668 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/1.239, allocations: 60.41 kB / 0.9668 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009708/1.24, allocations: 146.9 kB / 0.967 GB, free: 16.17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/1.241, allocations: 0.6246 MB / 0.9676 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/1.241, allocations: 0.7738 MB / 0.9683 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/1.241, allocations: 26.12 kB / 0.9684 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/1.241, allocations: 0 / 0.9684 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of Templates: time 0.009017/1.251, allocations: 4.496 MB / 0.9727 GB, free: 14.62 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.PressureCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.PressureCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Sensors.Examples.PressureCalcHelperMain.o] Error 1