Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007785/0.0007786, allocations: 102.1 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.0009281/0.0009281, allocations: 176.4 kB / 16.58 MB, free: 6.402 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.481/1.481, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.916/2.916, allocations: 436.7 MB / 0.7113 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.000402, allocations: 16 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9152/0.9156, allocations: 153.7 MB / 1.022 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001535/0.9172, allocations: 1.004 MB / 1.023 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.9183, allocations: 0.569 MB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.9183, allocations: 0 / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.9183, allocations: 0 / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.687e-05/0.9184, allocations: 3.938 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.9189, allocations: 127.6 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.919, allocations: 27.92 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.919, allocations: 4 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.919, allocations: 7.938 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.884e-05/0.9191, allocations: 19.97 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.9191, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.9196, allocations: 331.3 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.9196, allocations: 15.97 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.9197, allocations: 33.64 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.9199, allocations: 97.88 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9199, allocations: 4 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.977e-06/0.9199, allocations: 4 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.9199, allocations: 0 / 1.024 GB, free: 15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004394/0.9203, allocations: 363.2 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.9204, allocations: 11.98 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.9204, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.9206, allocations: 167.1 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.9206, allocations: 4 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.9206, allocations: 8 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.9208, allocations: 57.58 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.9208, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.9208, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.9208, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.235e-05/0.9209, allocations: 19.98 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.9211, allocations: 165.6 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.9212, allocations: 58.55 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.9212, allocations: 28.86 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.9213, allocations: 4 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.9213, allocations: 42.44 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.9213, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001175/0.9225, allocations: 0.5955 MB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.9225, allocations: 55.39 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.637e-05/0.9226, allocations: 93.86 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.9226, allocations: 29.7 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.9227, allocations: 80.14 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.9227, allocations: 39.45 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.9227, allocations: 4 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9229, allocations: 315 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.004e-05/0.9229, allocations: 23.98 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.923, allocations: 19.98 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.975e-05/0.923, allocations: 34.56 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.923, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001432/0.9232, allocations: 101.5 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.9232, allocations: 4 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9232, allocations: 0 / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.9232, allocations: 0 / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.9234, allocations: 27.98 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.9234, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.9234, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.9234, allocations: 4 kB / 1.026 GB, free: 12.38 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 8.599e-05/0.9235, allocations: 117.8 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.9235, allocations: 7.953 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.9237, allocations: 109.5 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.9237, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.9237, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.9238, allocations: 4 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.9242, allocations: 358.5 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9242, allocations: 3.938 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.9243, allocations: 19.98 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.9243, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.9243, allocations: 8 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.9243, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.9243, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.9246, allocations: 215.4 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.9247, allocations: 92.98 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.9247, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.9248, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.9248, allocations: 11.98 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.9248, allocations: 4 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.811e-05/0.9248, allocations: 75.28 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9248, allocations: 4 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002688/0.9251, allocations: 40.09 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002062/0.9253, allocations: 127.2 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.9255, allocations: 71.86 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9255, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.953e-05/0.9256, allocations: 27.98 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.9258, allocations: 8 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/0.9264, allocations: 367 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.9267, allocations: 0.6887 MB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.9267, allocations: 15.44 kB / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of SimCode: time 6.62e-07/0.9268, allocations: 0 / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of Templates: time 0.002915/0.9297, allocations: 1.118 MB / 1.03 GB, free: 8.75 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2CalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2CalcHelperMain.o] Error 1