Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009452/0.0009452, allocations: 91.05 kB / 16.33 MB, free: 6.871 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.0008908/0.0008909, allocations: 191 kB / 17.23 MB, free: 6.699 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.542/1.542, allocations: 223.2 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7106/0.7106, allocations: 114.4 MB / 406.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003427, allocations: 12 kB / 494.5 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1662, allocations: 77.27 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6151/0.7813, allocations: 146.7 MB / 0.7016 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003616/0.785, allocations: 1.655 MB / 0.7032 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.7854, allocations: 7.938 kB / 0.7032 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.786, allocations: 115.2 kB / 0.7033 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.7874, allocations: 390.1 kB / 0.7037 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.7886, allocations: 341 kB / 0.704 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00348/0.7921, allocations: 2.971 MB / 0.7069 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.7932, allocations: 0.6945 MB / 0.7076 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.7952, allocations: 0.8521 MB / 0.7085 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.7963, allocations: 0.7079 MB / 0.7091 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.218e-05/0.7964, allocations: 32 kB / 0.7092 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.7977, allocations: 0.5574 MB / 0.7097 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004537/0.7982, allocations: 283 kB / 0.71 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.7986, allocations: 233.1 kB / 0.7102 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.7999, allocations: 1.017 MB / 0.7112 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.7999, allocations: 3.938 kB / 0.7112 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.206e-06/0.7999, allocations: 0 / 0.7112 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.972e-05/0.8, allocations: 0 / 0.7112 GB, free: 13.15 MB / 0.5294 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.00216/0.8021, allocations: 1.3 MB / 0.7125 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8022, allocations: 16.02 kB / 0.7125 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000832/0.803, allocations: 182.5 kB / 0.7127 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.8044, allocations: 0.8 MB / 0.7134 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.8045, allocations: 45 kB / 0.7135 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/0.8045, allocations: 60 kB / 0.7135 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.8058, allocations: 0.8042 MB / 0.7143 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.8059, allocations: 7.938 kB / 0.7143 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.8059, allocations: 23.95 kB / 0.7144 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.806, allocations: 16 kB / 0.7144 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009938/0.807, allocations: 0.5383 MB / 0.7149 GB, free: 9.18 MB / 0.5294 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.005257/0.8122, allocations: 4.599 MB / 0.7194 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000749/0.813, allocations: 433.1 kB / 0.7198 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.8134, allocations: 256.8 kB / 0.7201 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/0.8138, allocations: 194.2 kB / 0.7202 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005122/0.8143, allocations: 302 kB / 0.7205 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.8143, allocations: 0 / 0.7205 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001489/0.8158, allocations: 0.6443 MB / 0.7212 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.8159, allocations: 85.11 kB / 0.7212 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.8174, allocations: 1.114 MB / 0.7223 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.8174, allocations: 33.7 kB / 0.7224 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.8178, allocations: 488.2 kB / 0.7228 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.818, allocations: 106.5 kB / 0.7229 GB, free: 472 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.818, allocations: 12 kB / 0.7229 GB, free: 460 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8181, allocations: 326.2 kB / 0.7232 GB, free: 128 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.8185, allocations: 188.7 kB / 0.7234 GB, free: 15.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008439/0.8194, allocations: 0.4979 MB / 0.7239 GB, free: 15.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.8199, allocations: 302.2 kB / 0.7242 GB, free: 15.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8199, allocations: 0 / 0.7242 GB, free: 15.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001153/0.8211, allocations: 0.678 MB / 0.7249 GB, free: 14.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.8213, allocations: 279.2 kB / 0.7251 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.8213, allocations: 4 kB / 0.7251 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.8213, allocations: 12 kB / 0.7251 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.8218, allocations: 107.8 kB / 0.7252 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.8218, allocations: 19.92 kB / 0.7253 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.8225, allocations: 111.3 kB / 0.7254 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.8226, allocations: 31.98 kB / 0.7254 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/0.8226, allocations: 4 kB / 0.7254 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008776/0.8235, allocations: 0.5321 MB / 0.7259 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.8235, allocations: 8 kB / 0.7259 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.8235, allocations: 8.656 kB / 0.7259 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.8239, allocations: 111.8 kB / 0.726 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.8239, allocations: 11.94 kB / 0.7261 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.8245, allocations: 99.52 kB / 0.7262 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.8245, allocations: 20 kB / 0.7262 GB, free: 12.88 MB / 0.545 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.0005954/0.8251, allocations: 473 kB / 0.7266 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.8253, allocations: 102.8 kB / 0.7267 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009746/0.8262, allocations: 0.4918 MB / 0.7272 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.8263, allocations: 7.984 kB / 0.7272 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.8263, allocations: 0 / 0.7272 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8263, allocations: 4 kB / 0.7272 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.8284, allocations: 1.393 MB / 0.7286 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8284, allocations: 0 / 0.7286 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.8287, allocations: 71.89 kB / 0.7286 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.8287, allocations: 0 / 0.7286 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.8287, allocations: 15.98 kB / 0.7287 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.8287, allocations: 4.219 kB / 0.7287 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8287, allocations: 4 kB / 0.7287 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009281/0.8297, allocations: 0.61 MB / 0.7293 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.83, allocations: 219.8 kB / 0.7295 GB, free: 9.355 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.8301, allocations: 8 kB / 0.7295 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.8305, allocations: 59.8 kB / 0.7295 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.8306, allocations: 39.84 kB / 0.7296 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.8307, allocations: 12 kB / 0.7296 GB, free: 9.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001306/0.832, allocations: 0.7836 MB / 0.7304 GB, free: 8.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.832, allocations: 0 / 0.7304 GB, free: 8.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001227/0.8332, allocations: 407.4 kB / 0.7307 GB, free: 8.047 MB / 0.545 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.0004357/0.8337, allocations: 179.2 kB / 0.7309 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.8351, allocations: 0.8005 MB / 0.7317 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8351, allocations: 0 / 0.7317 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.8355, allocations: 212.3 kB / 0.7319 GB, free: 6.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.8373, allocations: 465.8 kB / 0.7323 GB, free: 6.402 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.8405, allocations: 2.007 MB / 0.7343 GB, free: 4.332 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008256/0.8413, allocations: 1.173 MB / 0.7354 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.8415, allocations: 79.42 kB / 0.7355 GB, free: 3.051 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.8415, allocations: 0 / 0.7355 GB, free: 3.051 MB / 0.545 GB Notification: Performance of Templates: time 0.02759/0.8691, allocations: 15.68 MB / 0.7508 GB, free: 3.48 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile make -j1 -f IBPSA_latest_IBPSA.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/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.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.o] Error 1