Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 100.2 kB / 15.71 MB, free: 452 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.001328/0.001329, allocations: 175.9 kB / 16.58 MB, free: 6.422 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.508/1.508, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.756/2.756, allocations: 436.7 MB / 0.7113 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005182/0.0005183, allocations: 8 kB / 0.8717 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8917/0.8923, allocations: 153.7 MB / 1.022 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1889/1.081, allocations: 152.4 MB / 1.171 GB, free: 8.312 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003885/1.085, allocations: 2.07 MB / 1.173 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/1.086, allocations: 7.938 kB / 1.173 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000663/1.086, allocations: 162.9 kB / 1.173 GB, free: 6.074 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/1.088, allocations: 0.5043 MB / 1.173 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/1.089, allocations: 366.5 kB / 1.174 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003585/1.093, allocations: 3.249 MB / 1.177 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003043/1.096, allocations: 2.298 MB / 1.179 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/1.098, allocations: 1.054 MB / 1.18 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/1.099, allocations: 0.8443 MB / 1.181 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/1.099, allocations: 48 kB / 1.181 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/1.101, allocations: 0.5964 MB / 1.181 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003661/1.101, allocations: 334.8 kB / 1.182 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003874/1.102, allocations: 245.1 kB / 1.182 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/1.103, allocations: 1.185 MB / 1.183 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.103, allocations: 0 / 1.183 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.513e-06/1.103, allocations: 0 / 1.183 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.208e-05/1.103, allocations: 0 / 1.183 GB, free: 11.34 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00256/1.105, allocations: 1.514 MB / 1.185 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/1.106, allocations: 19.91 kB / 1.185 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007854/1.106, allocations: 198.3 kB / 1.185 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/1.108, allocations: 0.8639 MB / 1.186 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/1.108, allocations: 49.31 kB / 1.186 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/1.108, allocations: 71.95 kB / 1.186 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/1.109, allocations: 0.9953 MB / 1.187 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/1.109, allocations: 4 kB / 1.187 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/1.109, allocations: 20 kB / 1.187 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/1.109, allocations: 20 kB / 1.187 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/1.111, allocations: 0.7999 MB / 1.188 GB, free: 6.594 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.00504/1.116, allocations: 4.816 MB / 1.192 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/1.119, allocations: 4.021 MB / 1.196 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005428/1.119, allocations: 353.2 kB / 1.197 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003352/1.12, allocations: 198.5 kB / 1.197 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000589/1.12, allocations: 325.2 kB / 1.197 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004/1.121, allocations: 35.69 kB / 1.197 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=35): time 2.013e-06/1.121, allocations: 0 / 1.197 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35): time 0.004348/1.125, allocations: 1.594 MB / 1.199 GB, free: 10 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/1.125, allocations: 85.11 kB / 1.199 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.127, allocations: 1.18 MB / 1.2 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/1.127, allocations: 41.7 kB / 1.2 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/1.127, allocations: 0.5082 MB / 1.2 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/1.127, allocations: 130.2 kB / 1.201 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/1.127, allocations: 8 kB / 1.201 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.127, allocations: 329.9 kB / 1.201 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/1.128, allocations: 209 kB / 1.201 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/1.128, allocations: 0.5329 MB / 1.202 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/1.129, allocations: 330.5 kB / 1.202 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.129, allocations: 4 kB / 1.202 GB, free: 6.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00205/1.131, allocations: 1.029 MB / 1.203 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001982/1.131, allocations: 279.5 kB / 1.203 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/1.131, allocations: 4 kB / 1.203 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/1.132, allocations: 336.4 kB / 1.204 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/1.133, allocations: 103.9 kB / 1.204 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/1.134, allocations: 1.003 MB / 1.205 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009259/1.135, allocations: 103.8 kB / 1.205 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/1.135, allocations: 27.98 kB / 1.205 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/1.135, allocations: 4 kB / 1.205 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/1.136, allocations: 0.7868 MB / 1.206 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.136, allocations: 4 kB / 1.206 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/1.137, allocations: 233.1 kB / 1.206 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/1.137, allocations: 103.8 kB / 1.206 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/1.141, allocations: 2.932 MB / 1.209 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009274/1.142, allocations: 99.8 kB / 1.209 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/1.142, allocations: 24 kB / 1.209 GB, free: 15.16 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 (38): * Single equations (assignments): 36 * 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.0006662/1.142, allocations: 487.3 kB / 1.209 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/1.143, allocations: 106.7 kB / 1.209 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/1.144, allocations: 0.7892 MB / 1.21 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.144, allocations: 4 kB / 1.21 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.144, allocations: 0 / 1.21 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.144, allocations: 4 kB / 1.21 GB, free: 13.77 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.003359/1.147, allocations: 2.148 MB / 1.212 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/1.147, allocations: 4 kB / 1.212 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/1.148, allocations: 80.09 kB / 1.212 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004044/1.148, allocations: 184.5 kB / 1.213 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/1.148, allocations: 8 kB / 1.213 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007804/1.149, allocations: 0.8567 MB / 1.213 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/1.149, allocations: 0 / 1.213 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/1.15, allocations: 0.8654 MB / 1.214 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/1.151, allocations: 231.6 kB / 1.214 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/1.151, allocations: 12 kB / 1.214 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006761/1.152, allocations: 75.75 kB / 1.215 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/1.152, allocations: 39.84 kB / 1.215 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/1.152, allocations: 16 kB / 1.215 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001195/1.153, allocations: 0.8288 MB / 1.215 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/1.153, allocations: 0 / 1.215 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001562/1.155, allocations: 0.5032 MB / 1.216 GB, free: 7.688 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 (25): * Single equations (assignments): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00055/1.155, allocations: 184.6 kB / 1.216 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002173/1.157, allocations: 1.13 MB / 1.217 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/1.157, allocations: 0 / 1.217 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004448/1.158, allocations: 244.1 kB / 1.217 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/1.161, allocations: 0.6561 MB / 1.218 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/1.164, allocations: 2.167 MB / 1.22 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009249/1.165, allocations: 1.209 MB / 1.221 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/1.165, allocations: 75.42 kB / 1.221 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/1.165, allocations: 0 / 1.221 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.03442/1.2, allocations: 22.4 MB / 1.243 GB, free: 11.61 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimisedCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimisedCalcHelperMain.o] Error 1