Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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.001107/0.001107, 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.001521/0.001521, allocations: 177.1 kB / 16.58 MB, free: 6.859 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.505/1.505, 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 11.0.0-master/package.mo): time 2.912/2.912, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005727/0.0005728, allocations: 20 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9166/0.9172, allocations: 153.6 MB / 1.022 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1887/1.106, allocations: 146.8 MB / 1.165 GB, free: 13.95 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003311/1.109, allocations: 1.658 MB / 1.167 GB, free: 12.29 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003382/1.11, allocations: 11.94 kB / 1.167 GB, free: 12.28 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004967/1.11, allocations: 111.2 kB / 1.167 GB, free: 12.17 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001197/1.111, allocations: 390.1 kB / 1.167 GB, free: 11.79 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/1.112, allocations: 332.6 kB / 1.167 GB, free: 11.47 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003209/1.116, allocations: 2.983 MB / 1.17 GB, free: 8.477 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/1.117, allocations: 0.6915 MB / 1.171 GB, free: 7.777 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/1.118, allocations: 0.8676 MB / 1.172 GB, free: 6.906 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008785/1.119, allocations: 0.704 MB / 1.173 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.751e-05/1.119, allocations: 32 kB / 1.173 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/1.121, allocations: 0.5497 MB / 1.173 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003133/1.121, allocations: 286.9 kB / 1.173 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002949/1.121, allocations: 229.1 kB / 1.174 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/1.122, allocations: 1.017 MB / 1.175 GB, free: 4.086 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.122, allocations: 3.938 kB / 1.175 GB, free: 4.082 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.404e-06/1.122, allocations: 0 / 1.175 GB, free: 4.082 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.157e-05/1.123, allocations: 0 / 1.175 GB, free: 4.082 MB / 0.92 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.002172/1.125, allocations: 1.303 MB / 1.176 GB, free: 2.719 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/1.125, allocations: 11.98 kB / 1.176 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007028/1.125, allocations: 186.5 kB / 1.176 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/1.127, allocations: 0.7923 MB / 1.177 GB, free: 1.676 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/1.127, allocations: 44.94 kB / 1.177 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.927e-05/1.127, allocations: 60 kB / 1.177 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/1.128, allocations: 0.7965 MB / 1.178 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/1.128, allocations: 7.938 kB / 1.178 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/1.128, allocations: 23.95 kB / 1.178 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/1.128, allocations: 20 kB / 1.178 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009109/1.129, allocations: 0.5383 MB / 1.178 GB, free: 112 kB / 0.92 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.004711/1.134, allocations: 4.603 MB / 1.183 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/1.135, allocations: 426.2 kB / 1.183 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004263/1.135, allocations: 256.7 kB / 1.183 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/1.136, allocations: 190.2 kB / 1.184 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005498/1.136, allocations: 293.1 kB / 1.184 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/1.136, allocations: 0 / 1.184 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31): time 0.001471/1.138, allocations: 0.6491 MB / 1.185 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/1.138, allocations: 85.09 kB / 1.185 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/1.139, allocations: 1.106 MB / 1.186 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/1.139, allocations: 37.7 kB / 1.186 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/1.14, allocations: 0.496 MB / 1.186 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.7e-05/1.14, allocations: 102.5 kB / 1.186 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/1.14, allocations: 8 kB / 1.186 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.14, allocations: 330.2 kB / 1.187 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/1.14, allocations: 184.7 kB / 1.187 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/1.141, allocations: 0.5018 MB / 1.187 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/1.142, allocations: 305.6 kB / 1.188 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.142, allocations: 0 / 1.188 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001177/1.143, allocations: 0.6741 MB / 1.188 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002646/1.143, allocations: 275.1 kB / 1.189 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.143, allocations: 8 kB / 1.189 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.143, allocations: 8 kB / 1.189 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/1.144, allocations: 111.9 kB / 1.189 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/1.144, allocations: 11.94 kB / 1.189 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/1.144, allocations: 112.1 kB / 1.189 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/1.144, allocations: 24 kB / 1.189 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-06/1.144, allocations: 4 kB / 1.189 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009037/1.145, allocations: 0.5405 MB / 1.189 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.145, allocations: 7.984 kB / 1.189 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/1.145, allocations: 12.03 kB / 1.189 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/1.146, allocations: 107.8 kB / 1.189 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.146, allocations: 11.94 kB / 1.189 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/1.146, allocations: 95.52 kB / 1.19 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/1.146, allocations: 24 kB / 1.19 GB, free: 3.812 MB / 0.9356 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.0006004/1.147, allocations: 471 kB / 1.19 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/1.147, allocations: 102.8 kB / 1.19 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009404/1.148, allocations: 0.495 MB / 1.191 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.148, allocations: 8 kB / 1.191 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/1.148, allocations: 0 / 1.191 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/1.148, allocations: 3.984 kB / 1.191 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/1.15, allocations: 1.392 MB / 1.192 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.15, allocations: 4 kB / 1.192 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/1.15, allocations: 67.89 kB / 1.192 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/1.15, allocations: 4.219 kB / 1.192 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/1.15, allocations: 12 kB / 1.192 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.15, allocations: 4 kB / 1.192 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.15, allocations: 3.984 kB / 1.192 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/1.151, allocations: 0.6177 MB / 1.193 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/1.152, allocations: 219.8 kB / 1.193 GB, free: 284 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/1.152, allocations: 12 kB / 1.193 GB, free: 272 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/1.152, allocations: 55.78 kB / 1.193 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/1.152, allocations: 39.8 kB / 1.193 GB, free: 176 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/1.152, allocations: 15.98 kB / 1.193 GB, free: 160 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00108/1.153, allocations: 0.7836 MB / 1.194 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.153, allocations: 0 / 1.194 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001182/1.155, allocations: 411.4 kB / 1.194 GB, free: 14.96 MB / 0.9512 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.000458/1.155, allocations: 181.2 kB / 1.194 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001385/1.156, allocations: 0.7961 MB / 1.195 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.156, allocations: 0 / 1.195 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/1.157, allocations: 207.2 kB / 1.195 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/1.159, allocations: 458.6 kB / 1.196 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/1.162, allocations: 2.011 MB / 1.198 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000877/1.163, allocations: 1.181 MB / 1.199 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/1.163, allocations: 75.42 kB / 1.199 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/1.163, allocations: 0 / 1.199 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of Templates: time 0.02824/1.191, allocations: 15.69 MB / 1.214 GB, free: 10.37 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile make -j1 -f Buildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.o] Error 1