Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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.001003/0.001003, allocations: 102.6 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.00136/0.00136, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.457/1.457, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.5 MB / 0.6662 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9686/0.969, allocations: 142.3 MB / 0.9544 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1951/1.164, allocations: 146.7 MB / 1.098 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005946/1.17, allocations: 3.371 MB / 1.101 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006363/1.171, allocations: 7.938 kB / 1.101 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007894/1.172, allocations: 107.2 kB / 1.101 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001931/1.174, allocations: 397.2 kB / 1.101 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/1.175, allocations: 375.7 kB / 1.102 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004115/1.179, allocations: 2.995 MB / 1.105 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/1.181, allocations: 0.692 MB / 1.105 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/1.183, allocations: 0.8714 MB / 1.106 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009527/1.184, allocations: 0.7118 MB / 1.107 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.45e-05/1.184, allocations: 36 kB / 1.107 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/1.185, allocations: 0.5497 MB / 1.108 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/1.186, allocations: 286.9 kB / 1.108 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000325/1.186, allocations: 233.1 kB / 1.108 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/1.187, allocations: 1.021 MB / 1.109 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.187, allocations: 0 / 1.109 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.904e-06/1.187, allocations: 0 / 1.109 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.187, allocations: 4 kB / 1.109 GB, free: 1.336 MB / 0.8575 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.002255/1.189, allocations: 1.303 MB / 1.11 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.19, allocations: 8.031 kB / 1.11 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007639/1.19, allocations: 194.4 kB / 1.111 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/1.192, allocations: 0.7963 MB / 1.111 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/1.192, allocations: 49 kB / 1.111 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-05/1.192, allocations: 56 kB / 1.111 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/1.193, allocations: 0.7965 MB / 1.112 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/1.193, allocations: 4 kB / 1.112 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/1.193, allocations: 24 kB / 1.112 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/1.193, allocations: 12 kB / 1.112 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009164/1.194, allocations: 0.5383 MB / 1.113 GB, free: 13.37 MB / 0.8731 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.004988/1.199, allocations: 4.599 MB / 1.117 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000737/1.2, allocations: 438.3 kB / 1.118 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/1.2, allocations: 248.6 kB / 1.118 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003323/1.201, allocations: 194.2 kB / 1.118 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005376/1.201, allocations: 309 kB / 1.118 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.365e-06/1.201, allocations: 0 / 1.118 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.003819/1.205, allocations: 1.339 MB / 1.12 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/1.205, allocations: 89.11 kB / 1.12 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/1.207, allocations: 1.114 MB / 1.121 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/1.207, allocations: 37.7 kB / 1.121 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/1.207, allocations: 0.4921 MB / 1.121 GB, free: 4.008 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/1.207, allocations: 110.5 kB / 1.121 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/1.207, allocations: 8 kB / 1.121 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.208, allocations: 322 kB / 1.122 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/1.208, allocations: 188.7 kB / 1.122 GB, free: 3.387 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/1.208, allocations: 0.494 MB / 1.122 GB, free: 2.762 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/1.209, allocations: 295.3 kB / 1.123 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.209, allocations: 0 / 1.123 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002231/1.211, allocations: 0.9919 MB / 1.124 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002899/1.212, allocations: 271.2 kB / 1.124 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/1.212, allocations: 8 kB / 1.124 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/1.213, allocations: 344.3 kB / 1.124 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/1.213, allocations: 63.89 kB / 1.124 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/1.214, allocations: 1.012 MB / 1.125 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/1.215, allocations: 107.4 kB / 1.125 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/1.215, allocations: 27.98 kB / 1.125 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.215, allocations: 5.406 kB / 1.125 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001375/1.217, allocations: 0.7282 MB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.217, allocations: 8 kB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005012/1.217, allocations: 213.2 kB / 1.126 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/1.218, allocations: 67.8 kB / 1.126 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/1.222, allocations: 3.109 MB / 1.13 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008471/1.223, allocations: 95.8 kB / 1.13 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/1.223, allocations: 31.88 kB / 1.13 GB, free: 11.12 MB / 0.8887 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.000678/1.223, allocations: 464.7 kB / 1.13 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/1.223, allocations: 98.78 kB / 1.13 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/1.225, allocations: 0.7102 MB / 1.131 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.225, allocations: 11.95 kB / 1.131 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.225, allocations: 0 / 1.131 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/1.225, allocations: 3.984 kB / 1.131 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/1.228, allocations: 1.627 MB / 1.132 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/1.228, allocations: 0 / 1.132 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/1.228, allocations: 23.98 kB / 1.132 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004745/1.228, allocations: 226.5 kB / 1.133 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/1.228, allocations: 11.95 kB / 1.133 GB, free: 7.852 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/1.229, allocations: 0.9736 MB / 1.134 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.229, allocations: 4.031 kB / 1.134 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/1.231, allocations: 0.8408 MB / 1.134 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/1.231, allocations: 219.8 kB / 1.135 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.941e-05/1.231, allocations: 11.98 kB / 1.135 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/1.232, allocations: 59.8 kB / 1.135 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/1.232, allocations: 31.91 kB / 1.135 GB, free: 5.629 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/1.232, allocations: 12 kB / 1.135 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001287/1.233, allocations: 0.7877 MB / 1.136 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.01e-07/1.233, allocations: 0 / 1.136 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00141/1.235, allocations: 443.4 kB / 1.136 GB, free: 4.387 MB / 0.8887 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.0004795/1.235, allocations: 185.5 kB / 1.136 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002019/1.237, allocations: 1.059 MB / 1.137 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.237, allocations: 0 / 1.137 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004896/1.238, allocations: 231.9 kB / 1.137 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/1.24, allocations: 469.3 kB / 1.138 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/1.243, allocations: 2.034 MB / 1.14 GB, free: 336 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009418/1.244, allocations: 1.185 MB / 1.141 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/1.244, allocations: 59.44 kB / 1.141 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of SimCode: time 8.11e-07/1.244, allocations: 0 / 1.141 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of Templates: time 0.03236/1.276, allocations: 20.17 MB / 1.161 GB, free: 10.96 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile make -j1 -f Buildings_9_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/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 OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.o] Error 1