Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001017/0.001017, allocations: 99.59 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.001437/0.001437, allocations: 180.3 kB / 16.58 MB, free: 6.879 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.569/1.569, 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.838/2.838, allocations: 436.7 MB / 0.7113 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003765, allocations: 8 kB / 0.8717 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8894/0.8898, allocations: 153.6 MB / 1.022 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1749/1.065, allocations: 146.8 MB / 1.165 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004934/1.07, allocations: 3.373 MB / 1.168 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004332/1.07, allocations: 7.938 kB / 1.168 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005496/1.071, allocations: 119.2 kB / 1.168 GB, free: 10.47 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/1.072, allocations: 382.2 kB / 1.169 GB, free: 10.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/1.073, allocations: 377.2 kB / 1.169 GB, free: 9.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003266/1.077, allocations: 2.995 MB / 1.172 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/1.078, allocations: 0.6915 MB / 1.173 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/1.08, allocations: 0.8714 MB / 1.174 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008921/1.08, allocations: 0.7079 MB / 1.174 GB, free: 4.434 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.335e-05/1.081, allocations: 36 kB / 1.174 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/1.082, allocations: 0.5535 MB / 1.175 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/1.082, allocations: 282.9 kB / 1.175 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003169/1.083, allocations: 237.1 kB / 1.175 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/1.084, allocations: 1.025 MB / 1.176 GB, free: 2.301 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.084, allocations: 0 / 1.176 GB, free: 2.301 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.145e-06/1.084, allocations: 0 / 1.176 GB, free: 2.301 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.142e-05/1.084, allocations: 0 / 1.176 GB, free: 2.301 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002069/1.086, allocations: 1.307 MB / 1.178 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.086, allocations: 15.92 kB / 1.178 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007224/1.087, allocations: 190.4 kB / 1.178 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/1.088, allocations: 0.7886 MB / 1.179 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/1.088, allocations: 49 kB / 1.179 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-05/1.088, allocations: 56 kB / 1.179 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/1.089, allocations: 0.7966 MB / 1.18 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/1.089, allocations: 3.938 kB / 1.18 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.919e-05/1.089, allocations: 20 kB / 1.18 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/1.089, allocations: 12 kB / 1.18 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009323/1.09, allocations: 0.5461 MB / 1.18 GB, free: 14.32 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.004198/1.095, allocations: 4.595 MB / 1.185 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/1.095, allocations: 434.8 kB / 1.185 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/1.096, allocations: 248.7 kB / 1.185 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/1.096, allocations: 194.2 kB / 1.185 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005193/1.097, allocations: 301 kB / 1.186 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=31): time 2.355e-06/1.097, allocations: 224 / 1.186 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31): time 0.003818/1.1, allocations: 1.344 MB / 1.187 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/1.1, allocations: 85.05 kB / 1.187 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/1.102, allocations: 1.114 MB / 1.188 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/1.102, allocations: 33.7 kB / 1.188 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/1.103, allocations: 0.496 MB / 1.189 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/1.103, allocations: 98.5 kB / 1.189 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/1.103, allocations: 16 kB / 1.189 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.103, allocations: 329.9 kB / 1.189 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/1.103, allocations: 184.7 kB / 1.189 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/1.104, allocations: 0.494 MB / 1.19 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/1.104, allocations: 301.4 kB / 1.19 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.104, allocations: 0 / 1.19 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002055/1.106, allocations: 0.9794 MB / 1.191 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002548/1.107, allocations: 274.6 kB / 1.191 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/1.107, allocations: 12 kB / 1.191 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/1.108, allocations: 328.4 kB / 1.192 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/1.108, allocations: 67.84 kB / 1.192 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/1.109, allocations: 1.015 MB / 1.193 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00076/1.11, allocations: 107.4 kB / 1.193 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/1.11, allocations: 24 kB / 1.193 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/1.11, allocations: 4 kB / 1.193 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001322/1.111, allocations: 0.732 MB / 1.193 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.111, allocations: 8.625 kB / 1.194 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000513/1.112, allocations: 216.6 kB / 1.194 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/1.112, allocations: 63.91 kB / 1.194 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004174/1.116, allocations: 3.122 MB / 1.197 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008851/1.117, allocations: 92.42 kB / 1.197 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/1.117, allocations: 24 kB / 1.197 GB, free: 12.09 MB / 0.9512 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.0007792/1.118, allocations: 472.7 kB / 1.197 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.118, allocations: 106.6 kB / 1.197 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/1.12, allocations: 0.7064 MB / 1.198 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.12, allocations: 4 kB / 1.198 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/1.12, allocations: 0 / 1.198 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.12, allocations: 0 / 1.198 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/1.122, allocations: 1.624 MB / 1.2 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.122, allocations: 3.938 kB / 1.2 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/1.122, allocations: 32.14 kB / 1.2 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004553/1.123, allocations: 228.5 kB / 1.2 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/1.123, allocations: 8 kB / 1.2 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009617/1.124, allocations: 0.982 MB / 1.201 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.124, allocations: 7.984 kB / 1.201 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/1.125, allocations: 0.837 MB / 1.202 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/1.125, allocations: 219.8 kB / 1.202 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.856e-05/1.125, allocations: 12 kB / 1.202 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/1.126, allocations: 63.73 kB / 1.202 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/1.126, allocations: 27.91 kB / 1.202 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/1.126, allocations: 15.98 kB / 1.202 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001002/1.127, allocations: 0.7877 MB / 1.203 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.127, allocations: 0 / 1.203 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001314/1.128, allocations: 451.4 kB / 1.203 GB, free: 5.332 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 (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.0004644/1.129, allocations: 183.7 kB / 1.204 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001837/1.131, allocations: 1.048 MB / 1.205 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.131, allocations: 8 kB / 1.205 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004644/1.131, allocations: 230.6 kB / 1.205 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/1.133, allocations: 458.2 kB / 1.205 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/1.136, allocations: 2.033 MB / 1.207 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/1.137, allocations: 1.188 MB / 1.208 GB, free: 84 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/1.137, allocations: 63.42 kB / 1.208 GB, free: 24 kB / 0.9512 GB Notification: Performance of SimCode: time 1.553e-06/1.137, allocations: 0 / 1.208 GB, free: 24 kB / 0.9512 GB Notification: Performance of Templates: time 0.03121/1.168, allocations: 20.18 MB / 1.228 GB, free: 11.93 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimisedCalcHelperMain.o] Error 1