Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, 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.001798/0.001798, allocations: 175.6 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.57/1.57, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.952/2.952, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003931, allocations: 8 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8346/0.835, allocations: 153.7 MB / 1.022 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001976/0.837, allocations: 1.181 MB / 1.023 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.8382, allocations: 0.5806 MB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.8382, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.8383, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.053e-05/0.8383, allocations: 3.938 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/0.839, allocations: 131.6 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.8391, allocations: 51.84 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.8391, allocations: 11.91 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.8392, allocations: 23.92 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.8393, allocations: 27.91 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.8393, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005196/0.8398, allocations: 335.3 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.8398, allocations: 11.98 kB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.8399, allocations: 37.64 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.8402, allocations: 125.8 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8402, allocations: 0 / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8402, allocations: 4 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.8402, allocations: 0 / 1.024 GB, free: 14.72 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005496/0.8407, allocations: 387.2 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.8408, allocations: 8.031 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.8408, allocations: 7.906 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.841, allocations: 171 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.841, allocations: 15.92 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.841, allocations: 4 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.8413, allocations: 84.48 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.8414, allocations: 4 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.8414, allocations: 4 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.8414, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.8416, allocations: 59.95 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.8422, allocations: 320.7 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.8425, allocations: 86.53 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.8426, allocations: 40.84 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.8426, allocations: 4 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.8426, allocations: 34.56 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.8427, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001682/0.8443, allocations: 0.6735 MB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.8444, allocations: 59.39 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/0.8445, allocations: 97.81 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.8445, allocations: 33.7 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.8446, allocations: 91.97 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.8446, allocations: 39.45 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.8446, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.8448, allocations: 322.8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.8449, allocations: 31.98 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.845, allocations: 39.97 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.8451, allocations: 40.11 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8451, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002873/0.8454, allocations: 129.5 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.8455, allocations: 4 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.8455, allocations: 3.938 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.8455, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.8456, allocations: 27.98 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.8456, allocations: 3.984 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.8457, allocations: 15.98 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.8457, allocations: 7.953 kB / 1.027 GB, free: 11.61 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 (13): * Single equations (assignments): 13 * 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 9.206e-05/0.8458, allocations: 113.8 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.8459, allocations: 8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.8462, allocations: 141.5 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8462, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8463, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8463, allocations: 192 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006354/0.8469, allocations: 406.5 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.8469, allocations: 3.984 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.8471, allocations: 23.98 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.8471, allocations: 4 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.8471, allocations: 4 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.8471, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8471, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.8476, allocations: 270 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.8477, allocations: 77.11 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.8477, allocations: 4.031 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.8478, allocations: 15.92 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.8478, allocations: 12.05 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.8479, allocations: 4 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.393e-05/0.8479, allocations: 87.23 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8479, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002824/0.8482, allocations: 39.92 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0002264/0.8484, allocations: 131.2 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.8487, allocations: 95.83 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.8488, allocations: 4 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.8489, allocations: 43.97 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.8492, allocations: 8 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.8499, allocations: 402.9 kB / 1.029 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.8503, allocations: 0.6965 MB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.8504, allocations: 19.44 kB / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8504, allocations: 0 / 1.029 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of Templates: time 0.003347/0.8537, allocations: 1.298 MB / 1.031 GB, free: 7.57 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_m_flow_DerivativeCheck2CalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o] Error 1