Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 102.9 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.001036/0.001036, allocations: 173.5 kB / 16.58 MB, free: 6.402 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.882/1.882, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.86/1.86, 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.0006147/0.0006148, allocations: 17.72 kB / 0.6744 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3644, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 1.02/1.384, allocations: 146.7 MB / 0.9312 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003606/1.388, allocations: 1.637 MB / 0.9328 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004786/1.389, allocations: 10.31 kB / 0.9328 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006372/1.389, allocations: 110.5 kB / 0.933 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/1.391, allocations: 389.4 kB / 0.9333 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/1.392, allocations: 333.2 kB / 0.9336 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003901/1.396, allocations: 2.985 MB / 0.9366 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/1.398, allocations: 0.6876 MB / 0.9372 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/1.4, allocations: 0.861 MB / 0.9381 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/1.402, allocations: 0.7137 MB / 0.9388 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/1.402, allocations: 34.28 kB / 0.9388 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/1.404, allocations: 0.5566 MB / 0.9393 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005574/1.405, allocations: 278.3 kB / 0.9396 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005265/1.405, allocations: 230.3 kB / 0.9398 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/1.407, allocations: 1.023 MB / 0.9408 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/1.407, allocations: 0 / 0.9408 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.845e-06/1.407, allocations: 1.5 kB / 0.9408 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.524e-05/1.407, allocations: 0 / 0.9408 GB, free: 5.211 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003089/1.41, allocations: 1.303 MB / 0.9421 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/1.41, allocations: 8.938 kB / 0.9421 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/1.411, allocations: 183.7 kB / 0.9423 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/1.413, allocations: 0.797 MB / 0.9431 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/1.413, allocations: 43.97 kB / 0.9431 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/1.414, allocations: 58.69 kB / 0.9432 GB, free: 20 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/1.415, allocations: 0.7946 MB / 0.9439 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/1.415, allocations: 5.125 kB / 0.9439 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/1.415, allocations: 26.45 kB / 0.944 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/1.415, allocations: 13.38 kB / 0.944 GB, free: 19.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/1.417, allocations: 0.5364 MB / 0.9445 GB, free: 19.73 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.005943/1.423, allocations: 4.613 MB / 0.949 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009081/1.423, allocations: 427.4 kB / 0.9494 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/1.424, allocations: 250.8 kB / 0.9497 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004015/1.424, allocations: 196.1 kB / 0.9498 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005981/1.425, allocations: 295.9 kB / 0.9501 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.184e-06/1.425, allocations: 2.922 kB / 0.9501 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.00177/1.427, allocations: 0.6522 MB / 0.9508 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/1.427, allocations: 81.42 kB / 0.9508 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/1.429, allocations: 1.115 MB / 0.9519 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/1.429, allocations: 38.73 kB / 0.952 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/1.429, allocations: 488.6 kB / 0.9524 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/1.429, allocations: 113.5 kB / 0.9525 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/1.429, allocations: 12.81 kB / 0.9526 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.429, allocations: 326 kB / 0.9529 GB, free: 15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/1.43, allocations: 182.9 kB / 0.953 GB, free: 15 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/1.43, allocations: 0.5008 MB / 0.9535 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/1.431, allocations: 288.6 kB / 0.9538 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.431, allocations: 1 kB / 0.9538 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001282/1.432, allocations: 0.6792 MB / 0.9545 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000243/1.433, allocations: 284 kB / 0.9547 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/1.433, allocations: 10.48 kB / 0.9547 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/1.433, allocations: 8.438 kB / 0.9548 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/1.433, allocations: 117.5 kB / 0.9549 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/1.433, allocations: 16.33 kB / 0.9549 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009407/1.434, allocations: 104.7 kB / 0.955 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/1.434, allocations: 26.03 kB / 0.955 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/1.434, allocations: 4.625 kB / 0.955 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001003/1.435, allocations: 0.5371 MB / 0.9555 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.435, allocations: 6.016 kB / 0.9555 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.435, allocations: 11.92 kB / 0.9556 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/1.436, allocations: 105.5 kB / 0.9557 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/1.436, allocations: 14.92 kB / 0.9557 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/1.436, allocations: 95.09 kB / 0.9558 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/1.436, allocations: 29.61 kB / 0.9558 GB, free: 13.94 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00102/1.437, allocations: 470.2 kB / 0.9562 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/1.438, allocations: 97.41 kB / 0.9563 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/1.439, allocations: 0.4946 MB / 0.9568 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/1.439, allocations: 5.953 kB / 0.9568 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/1.439, allocations: 1 kB / 0.9568 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/1.439, allocations: 2.391 kB / 0.9568 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/1.441, allocations: 1.398 MB / 0.9582 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.441, allocations: 2.5 kB / 0.9582 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/1.441, allocations: 69.08 kB / 0.9583 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/1.441, allocations: 7.953 kB / 0.9583 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/1.441, allocations: 7.531 kB / 0.9583 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/1.441, allocations: 6.594 kB / 0.9583 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.441, allocations: 2.688 kB / 0.9583 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009328/1.442, allocations: 0.6182 MB / 0.9589 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/1.443, allocations: 222.2 kB / 0.9591 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/1.443, allocations: 11.33 kB / 0.9591 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/1.443, allocations: 54.27 kB / 0.9592 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.444, allocations: 29.03 kB / 0.9592 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/1.444, allocations: 16 kB / 0.9592 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001478/1.445, allocations: 0.7847 MB / 0.96 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.445, allocations: 1.859 kB / 0.96 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001793/1.447, allocations: 410.9 kB / 0.9604 GB, free: 12.59 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005438/1.447, allocations: 173.4 kB / 0.9605 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001837/1.449, allocations: 0.8049 MB / 0.9613 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.449, allocations: 1.469 kB / 0.9613 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004095/1.45, allocations: 204.9 kB / 0.9615 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/1.452, allocations: 465.5 kB / 0.962 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/1.455, allocations: 2.01 MB / 0.9639 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009926/1.456, allocations: 1.175 MB / 0.9651 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/1.456, allocations: 74.95 kB / 0.9651 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of SimCode: time 1.232e-06/1.456, allocations: 0 / 0.9651 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.03117/1.487, allocations: 15.7 MB / 0.9805 GB, free: 3.551 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimisedCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.o] Error 1