Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, 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.00156/0.00156, 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.559/1.559, 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 9.1.2-maint.9.1.x/package.mo): time 2.746/2.746, allocations: 390.4 MB / 0.6662 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 12 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9294/0.9298, allocations: 142.3 MB / 0.9544 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03114/0.961, allocations: 30.07 MB / 0.9838 GB, free: 176 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01692/0.978, allocations: 9.783 MB / 0.9933 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.9802, allocations: 39.75 kB / 0.9934 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.9823, allocations: 497 kB / 0.9938 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.9868, allocations: 1.29 MB / 0.9951 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.9905, allocations: 1.08 MB / 0.9961 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006861/0.9974, allocations: 5.514 MB / 1.002 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/1, allocations: 1.613 MB / 1.003 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/1.004, allocations: 1.568 MB / 1.005 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/1.007, allocations: 1.287 MB / 1.006 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002904/1.007, allocations: 68 kB / 1.006 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/1.01, allocations: 0.8854 MB / 1.007 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005345/1.011, allocations: 390.3 kB / 1.007 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0008462/1.011, allocations: 400.6 kB / 1.008 GB, free: 9.539 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002919/1.014, allocations: 2.171 MB / 1.01 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.014, allocations: 0 / 1.01 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.225e-06/1.014, allocations: 4 kB / 1.01 GB, free: 7.359 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.856e-05/1.014, allocations: 0 / 1.01 GB, free: 7.359 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003658/1.018, allocations: 2.098 MB / 1.012 GB, free: 5.195 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.018, allocations: 8.031 kB / 1.012 GB, free: 5.188 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/1.02, allocations: 401.1 kB / 1.012 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/1.023, allocations: 1.653 MB / 1.014 GB, free: 3.094 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/1.023, allocations: 78 kB / 1.014 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/1.023, allocations: 111.9 kB / 1.014 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/1.026, allocations: 1.369 MB / 1.015 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/1.026, allocations: 4 kB / 1.015 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.786e-05/1.026, allocations: 36 kB / 1.015 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/1.026, allocations: 31.94 kB / 1.015 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/1.028, allocations: 1.159 MB / 1.016 GB, free: 240 kB / 0.7637 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.008443/1.037, allocations: 7.067 MB / 1.023 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/1.038, allocations: 0.7011 MB / 1.024 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008353/1.039, allocations: 458.4 kB / 1.024 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002873/1.042, allocations: 1.859 MB / 1.026 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009493/1.043, allocations: 452.9 kB / 1.027 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006336/1.043, allocations: 107.3 kB / 1.027 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=46): time 2.785e-06/1.043, allocations: 0 / 1.027 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46): time 0.004237/1.048, allocations: 1.621 MB / 1.028 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/1.048, allocations: 59.41 kB / 1.028 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/1.05, allocations: 1.851 MB / 1.03 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.238e-05/1.05, allocations: 45.69 kB / 1.03 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000733/1.051, allocations: 0.8543 MB / 1.031 GB, free: 436 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/1.051, allocations: 169.7 kB / 1.031 GB, free: 264 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/1.051, allocations: 16 kB / 1.031 GB, free: 248 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.051, allocations: 334 kB / 1.032 GB, free: 15.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008151/1.052, allocations: 349.8 kB / 1.032 GB, free: 15.57 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.053, allocations: 0.8198 MB / 1.033 GB, free: 14.54 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/1.054, allocations: 482.3 kB / 1.033 GB, free: 14.06 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/1.054, allocations: 4 kB / 1.033 GB, free: 14.06 MB / 0.795 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003099/1.057, allocations: 1.402 MB / 1.035 GB, free: 12.64 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002949/1.058, allocations: 431.3 kB / 1.035 GB, free: 12.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/1.058, allocations: 12 kB / 1.035 GB, free: 12.06 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000795/1.058, allocations: 232.6 kB / 1.035 GB, free: 11.83 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/1.059, allocations: 183.7 kB / 1.035 GB, free: 11.65 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008345/1.06, allocations: 0.8372 MB / 1.036 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/1.062, allocations: 144.6 kB / 1.036 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.062, allocations: 43.98 kB / 1.036 GB, free: 10.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.062, allocations: 9.516 kB / 1.036 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002205/1.064, allocations: 1.09 MB / 1.038 GB, free: 9.492 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/1.064, allocations: 12 kB / 1.038 GB, free: 9.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004083/1.065, allocations: 161.3 kB / 1.038 GB, free: 9.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/1.065, allocations: 175.7 kB / 1.038 GB, free: 9.148 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/1.068, allocations: 2.364 MB / 1.04 GB, free: 6.648 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.07, allocations: 124.7 kB / 1.04 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.07, allocations: 47.98 kB / 1.04 GB, free: 6.477 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.001118/1.071, allocations: 0.5825 MB / 1.041 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004815/1.071, allocations: 173.8 kB / 1.041 GB, free: 5.711 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/1.074, allocations: 1.129 MB / 1.042 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/1.074, allocations: 7.984 kB / 1.042 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.074, allocations: 8 kB / 1.042 GB, free: 4.559 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001869/1.076, allocations: 1.082 MB / 1.043 GB, free: 3.402 MB / 0.795 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.004831/1.081, allocations: 2.414 MB / 1.046 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.081, allocations: 4.062 kB / 1.046 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/1.081, allocations: 103.8 kB / 1.046 GB, free: 0.7969 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/1.082, allocations: 152 kB / 1.046 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/1.082, allocations: 15.98 kB / 1.046 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006574/1.082, allocations: 0.802 MB / 1.047 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.082, allocations: 3.984 kB / 1.047 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/1.086, allocations: 1.585 MB / 1.048 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008067/1.086, allocations: 346.7 kB / 1.049 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004048/1.087, allocations: 19.89 kB / 1.049 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/1.088, allocations: 107.9 kB / 1.049 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.088, allocations: 40.38 kB / 1.049 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/1.088, allocations: 19.98 kB / 1.049 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002316/1.091, allocations: 1.278 MB / 1.05 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.1e-07/1.091, allocations: 0 / 1.05 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003228/1.094, allocations: 0.8541 MB / 1.051 GB, free: 11.48 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001089/1.095, allocations: 359.7 kB / 1.051 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00353/1.099, allocations: 1.626 MB / 1.053 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.099, allocations: 4 kB / 1.053 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009366/1.099, allocations: 402.4 kB / 1.053 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004187/1.104, allocations: 0.845 MB / 1.054 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006013/1.11, allocations: 3.549 MB / 1.057 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.111, allocations: 1.48 MB / 1.059 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004728/1.111, allocations: 143.4 kB / 1.059 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of SimCode: time 6.91e-07/1.111, allocations: 3.938 kB / 1.059 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of Templates: time 0.05686/1.168, allocations: 37.78 MB / 1.096 GB, free: 13.42 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.makefile make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.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.Example3CalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example3CalcHelperMain.o] Error 1