Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 102 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.001666/0.001666, allocations: 175.6 kB / 16.58 MB, free: 6.086 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.876/1.876, allocations: 223.3 MB / 240.6 MB, free: 5.406 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.675/2.675, allocations: 390.5 MB / 0.6662 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003839, allocations: 8 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8591/0.8595, allocations: 142.3 MB / 0.9544 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03102/0.8905, allocations: 27.17 MB / 0.9809 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.9071, allocations: 9.249 MB / 0.99 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.909, allocations: 37.78 kB / 0.99 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.9108, allocations: 456.8 kB / 0.9904 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003771/0.9145, allocations: 1.207 MB / 0.9916 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.918, allocations: 1.056 MB / 0.9927 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005625/0.9237, allocations: 4.294 MB / 0.9969 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.9254, allocations: 0.998 MB / 0.9978 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002597/0.928, allocations: 1.214 MB / 0.999 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.9294, allocations: 0.9917 MB / 1 GB, free: 1.332 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.9295, allocations: 52 kB / 1 GB, free: 1.281 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.9318, allocations: 0.8581 MB / 1.001 GB, free: 432 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.9322, allocations: 318.7 kB / 1.001 GB, free: 112 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.9326, allocations: 320.9 kB / 1.001 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.9348, allocations: 1.804 MB / 1.003 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.9349, allocations: 0 / 1.003 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9349, allocations: 0 / 1.003 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.9349, allocations: 0 / 1.003 GB, free: 13.98 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003188/0.9381, allocations: 1.717 MB / 1.005 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.9381, allocations: 11.97 kB / 1.005 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.9397, allocations: 349.8 kB / 1.005 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.9425, allocations: 1.343 MB / 1.007 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.9425, allocations: 69.95 kB / 1.007 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.9427, allocations: 87.98 kB / 1.007 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.9447, allocations: 1.064 MB / 1.008 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.9448, allocations: 7.938 kB / 1.008 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.503e-05/0.9449, allocations: 32 kB / 1.008 GB, free: 9.145 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.9449, allocations: 16 kB / 1.008 GB, free: 9.129 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.947, allocations: 0.8899 MB / 1.009 GB, free: 8.238 MB / 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.006709/0.9537, allocations: 5.208 MB / 1.014 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.9553, allocations: 0.685 MB / 1.014 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008923/0.9562, allocations: 385.4 kB / 1.015 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002669/0.9588, allocations: 1.721 MB / 1.016 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009693/0.9598, allocations: 414.9 kB / 1.017 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003595/0.9602, allocations: 103.5 kB / 1.017 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=44): time 2.294e-06/0.9602, allocations: 0 / 1.017 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44): time 0.004183/0.9644, allocations: 1.473 MB / 1.018 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.9645, allocations: 55.41 kB / 1.018 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.9663, allocations: 1.314 MB / 1.02 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.9664, allocations: 41.7 kB / 1.02 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/0.967, allocations: 0.6489 MB / 1.02 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.9672, allocations: 157.8 kB / 1.021 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.9673, allocations: 19.94 kB / 1.021 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.9675, allocations: 326 kB / 1.021 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007793/0.9683, allocations: 309.7 kB / 1.021 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.9694, allocations: 0.6559 MB / 1.022 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008619/0.9703, allocations: 406.2 kB / 1.022 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.9703, allocations: 0 / 1.022 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002732/0.973, allocations: 1.199 MB / 1.023 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002913/0.9733, allocations: 353.1 kB / 1.024 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.9733, allocations: 8 kB / 1.024 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008065/0.9742, allocations: 228.6 kB / 1.024 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.9748, allocations: 159.8 kB / 1.024 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009913/0.9758, allocations: 0.8682 MB / 1.025 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.9769, allocations: 112.5 kB / 1.025 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.751e-05/0.977, allocations: 40.11 kB / 1.025 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.745e-06/0.977, allocations: 4 kB / 1.025 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001879/0.9789, allocations: 0.9379 MB / 1.026 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.9789, allocations: 8 kB / 1.026 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003439/0.9793, allocations: 140.7 kB / 1.026 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.9799, allocations: 152 kB / 1.026 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/0.9826, allocations: 2.341 MB / 1.029 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/0.9836, allocations: 108.6 kB / 1.029 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.9836, allocations: 43.91 kB / 1.029 GB, free: 2.586 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008099/0.9844, allocations: 478.9 kB / 1.029 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.9846, allocations: 130.4 kB / 1.029 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.9869, allocations: 1.001 MB / 1.03 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.9869, allocations: 4 kB / 1.03 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.9869, allocations: 4 kB / 1.03 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001844/0.9888, allocations: 1.017 MB / 1.031 GB, free: 15.87 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.003722/0.9925, allocations: 2.077 MB / 1.033 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.9925, allocations: 0 / 1.033 GB, free: 13.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.9931, allocations: 111.9 kB / 1.033 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003258/0.9934, allocations: 140.7 kB / 1.034 GB, free: 13.45 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.9935, allocations: 15.98 kB / 1.034 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007708/0.9942, allocations: 0.8176 MB / 1.034 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9943, allocations: 0 / 1.034 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.997, allocations: 1.404 MB / 1.036 GB, free: 11.16 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.9975, allocations: 283.4 kB / 1.036 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.9976, allocations: 15.98 kB / 1.036 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007559/0.9984, allocations: 95.88 kB / 1.036 GB, free: 10.75 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.9985, allocations: 36.39 kB / 1.036 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.134e-05/0.9986, allocations: 27.92 kB / 1.036 GB, free: 10.69 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001251/0.9998, allocations: 0.9131 MB / 1.037 GB, free: 9.777 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9998, allocations: 0 / 1.037 GB, free: 9.777 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002016/1.002, allocations: 0.6823 MB / 1.038 GB, free: 9.094 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (39): * Single equations (assignments): 33 * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008339/1.003, allocations: 353.5 kB / 1.038 GB, free: 8.746 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003411/1.006, allocations: 1.518 MB / 1.04 GB, free: 7.195 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.006, allocations: 1.062 kB / 1.04 GB, free: 7.195 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009297/1.007, allocations: 394.4 kB / 1.04 GB, free: 6.812 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/1.01, allocations: 0.5889 MB / 1.041 GB, free: 6.23 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/1.015, allocations: 2.8 MB / 1.043 GB, free: 3.391 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.016, allocations: 1.261 MB / 1.044 GB, free: 2.098 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/1.017, allocations: 107.4 kB / 1.045 GB, free: 1.992 MB / 0.795 GB Notification: Performance of SimCode: time 2.255e-06/1.017, allocations: 3.938 kB / 1.045 GB, free: 1.988 MB / 0.795 GB Notification: Performance of Templates: time 0.05099/1.068, allocations: 29.06 MB / 1.073 GB, free: 5.086 MB / 0.8262 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.makefile make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.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.Example2CalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.Example2CalcHelperMain.o] Error 1