Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 99.83 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.001468/0.001468, allocations: 179.4 kB / 16.58 MB, free: 6.879 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.872/1.872, allocations: 205.4 MB / 222.7 MB, free: 5.898 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.798/1.798, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.000744/0.0007442, allocations: 21.16 kB / 0.6744 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.344, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.9889/1.333, allocations: 146.7 MB / 0.9312 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005959/1.339, allocations: 3.356 MB / 0.9345 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005817/1.34, allocations: 10.5 kB / 0.9345 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006984/1.34, allocations: 113.1 kB / 0.9346 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/1.342, allocations: 396.1 kB / 0.935 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/1.343, allocations: 364 kB / 0.9354 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003934/1.347, allocations: 2.996 MB / 0.9383 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/1.349, allocations: 0.7022 MB / 0.939 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/1.351, allocations: 0.8611 MB / 0.9398 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/1.353, allocations: 0.7082 MB / 0.9405 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/1.353, allocations: 35.03 kB / 0.9405 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/1.354, allocations: 0.5598 MB / 0.9411 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003946/1.355, allocations: 280.8 kB / 0.9413 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004256/1.355, allocations: 234 kB / 0.9416 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/1.357, allocations: 1.024 MB / 0.9426 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.357, allocations: 0.5 kB / 0.9426 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.156e-06/1.357, allocations: 0 / 0.9426 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.195e-05/1.357, allocations: 0.5312 kB / 0.9426 GB, free: 5.016 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003993/1.361, allocations: 1.304 MB / 0.9438 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.626e-05/1.361, allocations: 9.094 kB / 0.9438 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/1.362, allocations: 189.9 kB / 0.944 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/1.364, allocations: 0.7964 MB / 0.9448 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/1.364, allocations: 41.94 kB / 0.9448 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/1.364, allocations: 61.31 kB / 0.9449 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/1.366, allocations: 0.7956 MB / 0.9457 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/1.366, allocations: 2.156 kB / 0.9457 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/1.366, allocations: 20.94 kB / 0.9457 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/1.366, allocations: 13.44 kB / 0.9457 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/1.367, allocations: 0.5421 MB / 0.9462 GB, free: 19.54 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.005932/1.373, allocations: 4.61 MB / 0.9507 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009825/1.374, allocations: 425.8 kB / 0.9512 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004672/1.375, allocations: 249.9 kB / 0.9514 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/1.375, allocations: 195.6 kB / 0.9516 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006001/1.376, allocations: 307.3 kB / 0.9519 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/1.376, allocations: 1.75 kB / 0.9519 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.004311/1.38, allocations: 1.339 MB / 0.9532 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/1.38, allocations: 81.52 kB / 0.9533 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/1.382, allocations: 1.115 MB / 0.9543 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/1.382, allocations: 43.02 kB / 0.9544 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005958/1.383, allocations: 492.5 kB / 0.9549 GB, free: 15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/1.383, allocations: 112.2 kB / 0.955 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/1.383, allocations: 9.438 kB / 0.955 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.383, allocations: 325.2 kB / 0.9553 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/1.384, allocations: 186.1 kB / 0.9555 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/1.385, allocations: 0.4964 MB / 0.9559 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/1.385, allocations: 299.3 kB / 0.9562 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/1.385, allocations: 0.9688 kB / 0.9562 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002857/1.388, allocations: 0.9851 MB / 0.9572 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003048/1.388, allocations: 276.1 kB / 0.9575 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/1.389, allocations: 5.281 kB / 0.9575 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/1.39, allocations: 345.2 kB / 0.9578 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/1.39, allocations: 61.88 kB / 0.9579 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/1.392, allocations: 1.017 MB / 0.9588 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.394, allocations: 107.1 kB / 0.9589 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/1.394, allocations: 23.06 kB / 0.959 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.394, allocations: 4 kB / 0.959 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001789/1.396, allocations: 0.7367 MB / 0.9597 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.396, allocations: 9.688 kB / 0.9597 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/1.396, allocations: 210 kB / 0.9599 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/1.396, allocations: 68.05 kB / 0.96 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/1.401, allocations: 3.106 MB / 0.963 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/1.403, allocations: 95.25 kB / 0.9631 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/1.403, allocations: 24.28 kB / 0.9631 GB, free: 11.38 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.001389/1.404, allocations: 470.1 kB / 0.9636 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/1.405, allocations: 102.6 kB / 0.9637 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/1.407, allocations: 0.7278 MB / 0.9644 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.407, allocations: 2.844 kB / 0.9644 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.407, allocations: 0 / 0.9644 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.407, allocations: 2.578 kB / 0.9644 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/1.41, allocations: 1.618 MB / 0.966 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.41, allocations: 7.031 kB / 0.966 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/1.41, allocations: 22.66 kB / 0.966 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/1.411, allocations: 226.9 kB / 0.9662 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/1.411, allocations: 10.67 kB / 0.9662 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/1.412, allocations: 0.9833 MB / 0.9672 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.412, allocations: 0 / 0.9672 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/1.414, allocations: 0.8442 MB / 0.968 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007371/1.414, allocations: 223.6 kB / 0.9682 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/1.415, allocations: 8.469 kB / 0.9682 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007984/1.415, allocations: 55.92 kB / 0.9683 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.416, allocations: 32.38 kB / 0.9683 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/1.416, allocations: 14.25 kB / 0.9683 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001615/1.417, allocations: 0.7872 MB / 0.9691 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/1.417, allocations: 0 / 0.9691 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002588/1.42, allocations: 453.3 kB / 0.9695 GB, free: 9.293 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006614/1.421, allocations: 174.3 kB / 0.9697 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00257/1.423, allocations: 1.058 MB / 0.9707 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.423, allocations: 0 / 0.9707 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005794/1.424, allocations: 228.1 kB / 0.9709 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.426, allocations: 476.6 kB / 0.9714 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/1.43, allocations: 2.025 MB / 0.9734 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008991/1.431, allocations: 1.186 MB / 0.9745 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/1.431, allocations: 60.38 kB / 0.9746 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of SimCode: time 1.994e-06/1.431, allocations: 0 / 0.9746 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of Templates: time 0.03709/1.468, allocations: 20.18 MB / 0.9943 GB, free: 12.32 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.o] Error 1