Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009598/0.0009599, allocations: 102.3 kB / 15.71 MB, free: 448 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.0012/0.0012, allocations: 176.4 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.517/1.517, allocations: 223.3 MB / 240.6 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.954/2.954, allocations: 436.7 MB / 0.7113 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004457, allocations: 12.2 kB / 0.8717 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8567, allocations: 153.7 MB / 1.022 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001704/0.8584, allocations: 0.9962 MB / 1.023 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.8596, allocations: 0.5572 MB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.8597, allocations: 0 / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.8597, allocations: 3.938 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.136e-05/0.8598, allocations: 3.984 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.8605, allocations: 119.6 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.523e-05/0.8606, allocations: 23.88 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.8606, allocations: 4 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.8607, allocations: 11.92 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.656e-05/0.8608, allocations: 11.98 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.8608, allocations: 0 / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.8614, allocations: 331.3 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.8614, allocations: 3.984 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.8614, allocations: 33.64 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.8617, allocations: 93.94 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.8617, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8617, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.8617, allocations: 8 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005017/0.8622, allocations: 351.3 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.8623, allocations: 11.98 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.8623, allocations: 4 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.8625, allocations: 167 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.8625, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.8626, allocations: 4 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.8627, allocations: 41.64 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8627, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.8627, allocations: 4 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.8627, allocations: 4 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.905e-05/0.8628, allocations: 11.94 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.863, allocations: 157.7 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.8632, allocations: 50.55 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.8633, allocations: 16.92 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.8633, allocations: 12 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.8634, allocations: 34.52 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.8634, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0007445/0.8641, allocations: 302.1 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.8642, allocations: 51.41 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.8643, allocations: 105.8 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.8643, allocations: 29.7 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.8644, allocations: 84.14 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.8644, allocations: 15.75 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.8644, allocations: 0 / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8646, allocations: 322.8 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.8646, allocations: 8 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.8646, allocations: 11.98 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.69e-05/0.8647, allocations: 19.98 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.8647, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001079/0.8648, allocations: 65.59 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.8648, allocations: 11.95 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8648, allocations: 7.922 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.8648, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.8649, allocations: 8 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.8649, allocations: 4 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.8649, allocations: 4.062 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.865, allocations: 4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 8.87e-05/0.865, allocations: 109.8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.8651, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.8652, allocations: 81.53 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.8652, allocations: 4 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.8653, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8653, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.8656, allocations: 307.5 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.8657, allocations: 3.953 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.8657, allocations: 19.92 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8657, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.8657, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8658, allocations: 7.969 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8658, allocations: 4 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.866, allocations: 176.3 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.866, allocations: 81.06 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.866, allocations: 4.031 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.8661, allocations: 4 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.8662, allocations: 15.98 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.8662, allocations: 0 / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.8662, allocations: 79.8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8662, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002565/0.8665, allocations: 24 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002049/0.8667, allocations: 123.2 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.8668, allocations: 32.17 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8668, allocations: 3.938 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-05/0.8669, allocations: 31.92 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.8671, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.8676, allocations: 251.1 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.8679, allocations: 0.6809 MB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.8679, allocations: 11.44 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.8679, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.002726/0.8706, allocations: 0.791 MB / 1.028 GB, free: 9.891 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheckCalcHelperMain.o] Error 1