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.001074/0.001074, allocations: 91.84 kB / 16.02 MB, free: 80 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.001403/0.001403, allocations: 181.6 kB / 16.92 MB, free: 6.652 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.814/1.814, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.965/1.965, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0005884/0.0005886, allocations: 12.34 kB / 0.675 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3368, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.9516/1.289, allocations: 157.3 MB / 0.9421 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003622/1.292, allocations: 1.741 MB / 0.9438 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/1.292, allocations: 13.62 kB / 0.9439 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005646/1.293, allocations: 137 kB / 0.944 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/1.294, allocations: 0.4987 MB / 0.9445 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/1.295, allocations: 340 kB / 0.9448 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004982/1.3, allocations: 3.477 MB / 0.9482 GB, free: 392 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/1.302, allocations: 0.7476 MB / 0.9489 GB, free: 252 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003152/1.305, allocations: 0.9056 MB / 0.9498 GB, free: 128 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/1.307, allocations: 0.7087 MB / 0.9505 GB, free: 92 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/1.307, allocations: 32.66 kB / 0.9505 GB, free: 92 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/1.309, allocations: 0.8011 MB / 0.9513 GB, free: 28 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003875/1.309, allocations: 283.7 kB / 0.9516 GB, free: 12 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009817/1.31, allocations: 0.5302 MB / 0.9521 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/1.312, allocations: 1.008 MB / 0.9531 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.312, allocations: 1.031 kB / 0.9531 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/1.312, allocations: 0 / 0.9531 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.312, allocations: 0 / 0.9531 GB, free: 15.87 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002351/1.314, allocations: 1.266 MB / 0.9543 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/1.314, allocations: 8.719 kB / 0.9543 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008735/1.315, allocations: 181.6 kB / 0.9545 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.316, allocations: 0.8103 MB / 0.9553 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/1.316, allocations: 48.38 kB / 0.9553 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/1.317, allocations: 59.97 kB / 0.9554 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/1.318, allocations: 0.7973 MB / 0.9562 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.318, allocations: 6.469 kB / 0.9562 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/1.318, allocations: 20.53 kB / 0.9562 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/1.318, allocations: 17.67 kB / 0.9562 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/1.319, allocations: 0.547 MB / 0.9568 GB, free: 14.33 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.005075/1.324, allocations: 4.592 MB / 0.9612 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/1.325, allocations: 430.9 kB / 0.9617 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/1.326, allocations: 251.5 kB / 0.9619 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/1.326, allocations: 198.3 kB / 0.9621 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006013/1.327, allocations: 302.2 kB / 0.9624 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/1.327, allocations: 1.625 kB / 0.9624 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001762/1.328, allocations: 0.652 MB / 0.963 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/1.329, allocations: 83.33 kB / 0.9631 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/1.331, allocations: 1.119 MB / 0.9642 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/1.331, allocations: 34.83 kB / 0.9642 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006431/1.331, allocations: 492.2 kB / 0.9647 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.331, allocations: 112.7 kB / 0.9648 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/1.332, allocations: 38.89 kB / 0.9648 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.332, allocations: 327.7 kB / 0.9651 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/1.332, allocations: 212.4 kB / 0.9653 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008278/1.333, allocations: 0.532 MB / 0.9659 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/1.334, allocations: 0.6356 MB / 0.9665 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.334, allocations: 2.75 kB / 0.9665 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00152/1.336, allocations: 0.7283 MB / 0.9672 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000268/1.336, allocations: 278.6 kB / 0.9675 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.336, allocations: 6.281 kB / 0.9675 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/1.336, allocations: 7.906 kB / 0.9675 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/1.337, allocations: 115.7 kB / 0.9676 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/1.337, allocations: 18.31 kB / 0.9676 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.338, allocations: 102.8 kB / 0.9677 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/1.338, allocations: 23.12 kB / 0.9677 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.338, allocations: 6.906 kB / 0.9677 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/1.339, allocations: 0.5334 MB / 0.9683 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.339, allocations: 5.375 kB / 0.9683 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.339, allocations: 7.781 kB / 0.9683 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/1.339, allocations: 105.8 kB / 0.9684 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/1.339, allocations: 19.02 kB / 0.9684 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006744/1.34, allocations: 90.78 kB / 0.9685 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/1.34, allocations: 20.34 kB / 0.9685 GB, free: 8.051 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007479/1.341, allocations: 476.6 kB / 0.9689 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/1.341, allocations: 98.44 kB / 0.969 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/1.342, allocations: 0.4947 MB / 0.9695 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.342, allocations: 3.188 kB / 0.9695 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.342, allocations: 7.297 kB / 0.9695 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/1.342, allocations: 3.984 kB / 0.9695 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/1.344, allocations: 1.398 MB / 0.9709 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.344, allocations: 0 / 0.9709 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/1.344, allocations: 70.7 kB / 0.971 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/1.344, allocations: 10.69 kB / 0.971 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/1.345, allocations: 7.625 kB / 0.971 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/1.345, allocations: 3 kB / 0.971 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/1.345, allocations: 3.531 kB / 0.971 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/1.345, allocations: 0.6205 MB / 0.9716 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/1.346, allocations: 216.1 kB / 0.9718 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/1.346, allocations: 14.56 kB / 0.9718 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000456/1.346, allocations: 47.05 kB / 0.9719 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/1.346, allocations: 31.69 kB / 0.9719 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/1.346, allocations: 8.688 kB / 0.9719 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001119/1.348, allocations: 0.7891 MB / 0.9727 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.054e-06/1.348, allocations: 0 / 0.9727 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001474/1.349, allocations: 414.7 kB / 0.9731 GB, free: 6.016 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 (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.0005494/1.35, allocations: 168.5 kB / 0.9732 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001476/1.351, allocations: 0.8241 MB / 0.974 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.351, allocations: 4.281 kB / 0.974 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/1.351, allocations: 205.6 kB / 0.9742 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.354, allocations: 459.3 kB / 0.9747 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/1.357, allocations: 2.096 MB / 0.9767 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.359, allocations: 1.182 MB / 0.9779 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/1.359, allocations: 76.55 kB / 0.9779 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of SimCode: time 1.103e-06/1.359, allocations: 0 / 0.9779 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of Templates: time 0.03104/1.39, allocations: 15.74 MB / 0.9933 GB, free: 11.41 MB / 0.7481 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++ -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.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