Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009093/0.0009092, allocations: 103 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.001489/0.001489, allocations: 169.1 kB / 16.58 MB, free: 6.383 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.56/1.56, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.895/2.895, allocations: 436.7 MB / 0.7113 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 20 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8867/0.8871, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1853/1.072, allocations: 152.4 MB / 1.171 GB, free: 8.242 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005838/1.078, allocations: 3.784 MB / 1.174 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005761/1.079, allocations: 15.88 kB / 1.174 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006493/1.08, allocations: 159 kB / 1.174 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001663/1.081, allocations: 0.4898 MB / 1.175 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/1.083, allocations: 409.5 kB / 1.175 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0044/1.087, allocations: 3.269 MB / 1.178 GB, free: 120 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003568/1.091, allocations: 2.289 MB / 1.181 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003283/1.094, allocations: 1.066 MB / 1.182 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/1.096, allocations: 0.8404 MB / 1.183 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/1.096, allocations: 52 kB / 1.183 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/1.098, allocations: 0.5964 MB / 1.183 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003806/1.098, allocations: 334.8 kB / 1.184 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00044/1.099, allocations: 249.1 kB / 1.184 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/1.1, allocations: 1.189 MB / 1.185 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.1, allocations: 0 / 1.185 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/1.1, allocations: 0 / 1.185 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.157e-05/1.1, allocations: 0 / 1.185 GB, free: 9.477 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002508/1.103, allocations: 1.514 MB / 1.186 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.103, allocations: 11.98 kB / 1.186 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007884/1.104, allocations: 194.4 kB / 1.187 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/1.105, allocations: 0.8796 MB / 1.187 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/1.105, allocations: 57.25 kB / 1.188 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/1.105, allocations: 63.94 kB / 1.188 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/1.107, allocations: 0.9915 MB / 1.189 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/1.107, allocations: 4 kB / 1.189 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/1.107, allocations: 20 kB / 1.189 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/1.107, allocations: 16 kB / 1.189 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/1.108, allocations: 0.8038 MB / 1.189 GB, free: 4.738 MB / 0.9356 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.004678/1.113, allocations: 4.812 MB / 1.194 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/1.116, allocations: 4.024 MB / 1.198 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005203/1.116, allocations: 358.9 kB / 1.198 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/1.117, allocations: 190.5 kB / 1.199 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005843/1.117, allocations: 337.5 kB / 1.199 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004443/1.118, allocations: 31.67 kB / 1.199 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/1.118, allocations: 0 / 1.199 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.004952/1.123, allocations: 1.75 MB / 1.201 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/1.123, allocations: 89.05 kB / 1.201 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/1.124, allocations: 1.181 MB / 1.202 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/1.124, allocations: 37.7 kB / 1.202 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/1.125, allocations: 0.5121 MB / 1.202 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/1.125, allocations: 126.2 kB / 1.202 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/1.125, allocations: 12 kB / 1.203 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.125, allocations: 326 kB / 1.203 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/1.125, allocations: 209 kB / 1.203 GB, free: 5.465 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/1.126, allocations: 0.5368 MB / 1.204 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/1.127, allocations: 322.4 kB / 1.204 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.127, allocations: 0 / 1.204 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00228/1.129, allocations: 1.076 MB / 1.205 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002217/1.129, allocations: 271.9 kB / 1.205 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.129, allocations: 8 kB / 1.205 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/1.13, allocations: 377.8 kB / 1.206 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/1.131, allocations: 71.88 kB / 1.206 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/1.132, allocations: 1.064 MB / 1.207 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009782/1.133, allocations: 87.88 kB / 1.207 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/1.133, allocations: 39.97 kB / 1.207 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.133, allocations: 4 kB / 1.207 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001538/1.134, allocations: 0.8064 MB / 1.208 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.135, allocations: 4 kB / 1.208 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/1.135, allocations: 270.2 kB / 1.208 GB, free: 284 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/1.135, allocations: 75.88 kB / 1.208 GB, free: 208 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/1.139, allocations: 3.123 MB / 1.211 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/1.14, allocations: 95.8 kB / 1.211 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/1.141, allocations: 27.94 kB / 1.211 GB, free: 12.82 MB / 0.9669 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.000689/1.141, allocations: 482.9 kB / 1.212 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/1.141, allocations: 106.7 kB / 1.212 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/1.143, allocations: 0.8319 MB / 1.212 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.143, allocations: 7.938 kB / 1.212 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/1.143, allocations: 0 / 1.212 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.143, allocations: 0 / 1.212 GB, free: 11.38 MB / 0.9669 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 postOpt removeSimpleEquations (simulation): time 0.002978/1.146, allocations: 2.167 MB / 1.215 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.146, allocations: 0 / 1.215 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/1.146, allocations: 47.91 kB / 1.215 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004589/1.147, allocations: 224.1 kB / 1.215 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/1.147, allocations: 8 kB / 1.215 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007466/1.147, allocations: 0.8801 MB / 1.216 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.147, allocations: 8.031 kB / 1.216 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/1.149, allocations: 0.8813 MB / 1.217 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/1.149, allocations: 239.6 kB / 1.217 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/1.149, allocations: 15.92 kB / 1.217 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/1.15, allocations: 75.77 kB / 1.217 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/1.15, allocations: 35.91 kB / 1.217 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/1.15, allocations: 19.98 kB / 1.217 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001082/1.151, allocations: 0.825 MB / 1.218 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.21e-07/1.151, allocations: 0 / 1.218 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001534/1.152, allocations: 0.5033 MB / 1.218 GB, free: 5.23 MB / 0.9669 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004714/1.153, allocations: 186.6 kB / 1.218 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002147/1.155, allocations: 1.134 MB / 1.219 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/1.155, allocations: 0 / 1.219 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000453/1.156, allocations: 255.4 kB / 1.22 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/1.159, allocations: 0.6586 MB / 1.22 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/1.162, allocations: 2.16 MB / 1.222 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007615/1.162, allocations: 1.209 MB / 1.224 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/1.163, allocations: 71.42 kB / 1.224 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of SimCode: time 1.062e-06/1.163, allocations: 0 / 1.224 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.03342/1.196, allocations: 22.31 MB / 1.246 GB, free: 9.242 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimisedCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimisedCalcHelperMain.o] Error 1