Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001317/0.001317, allocations: 96.14 kB / 15.87 MB, free: 16 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.001893/0.001893, allocations: 194.6 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.1 MB / 222.6 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.3 MB / 0.5491 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 64.14 kB / 0.6715 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3143, allocations: 114.5 MB / 0.7833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00266/0.317, allocations: 1.548 MB / 0.7848 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3181, allocations: 0.6512 MB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.6e-05/0.3181, allocations: 0 / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.3182, allocations: 0 / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.655e-05/0.3182, allocations: 3.938 kB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.3187, allocations: 131.6 kB / 0.7856 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.3188, allocations: 55.78 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.3188, allocations: 4 kB / 0.7857 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.506e-05/0.3189, allocations: 27.91 kB / 0.7857 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.344e-05/0.319, allocations: 23.92 kB / 0.7857 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.319, allocations: 4 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.3194, allocations: 347.3 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.3195, allocations: 11.94 kB / 0.7861 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.3195, allocations: 19.92 kB / 0.7861 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.3197, allocations: 127.9 kB / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3197, allocations: 0 / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3197, allocations: 0 / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3198, allocations: 4 kB / 0.7862 GB, free: 11.05 MB / 0.6075 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.0006287/0.3204, allocations: 399.3 kB / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3204, allocations: 8.031 kB / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.3205, allocations: 8.844 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3206, allocations: 164.4 kB / 0.7868 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.3206, allocations: 8.312 kB / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.3207, allocations: 12.38 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.3209, allocations: 82.2 kB / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.321, allocations: 192 / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.321, allocations: 3.938 kB / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.321, allocations: 0 / 0.7869 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.3212, allocations: 55.94 kB / 0.7869 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.3218, allocations: 324.6 kB / 0.7872 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.3221, allocations: 78.53 kB / 0.7873 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3222, allocations: 28.84 kB / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.3223, allocations: 0 / 0.7873 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3223, allocations: 38.56 kB / 0.7874 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.3223, allocations: 3.938 kB / 0.7874 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001748/0.3241, allocations: 0.6462 MB / 0.788 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.3241, allocations: 51.41 kB / 0.788 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3242, allocations: 105.8 kB / 0.7881 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.3243, allocations: 29.7 kB / 0.7882 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.3243, allocations: 88.05 kB / 0.7883 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/0.3244, allocations: 39.44 kB / 0.7883 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.3245, allocations: 37.64 kB / 0.7883 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3246, allocations: 314.8 kB / 0.7886 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3248, allocations: 35.97 kB / 0.7887 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.3249, allocations: 31.36 kB / 0.7887 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3252, allocations: 72.95 kB / 0.7888 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3252, allocations: 0 / 0.7888 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003116/0.3255, allocations: 117.5 kB / 0.7889 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3255, allocations: 12 kB / 0.7889 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3255, allocations: 3.984 kB / 0.7889 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3255, allocations: 0 / 0.7889 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.3257, allocations: 27.98 kB / 0.7889 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3257, allocations: 0 / 0.7889 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.3258, allocations: 7.938 kB / 0.7889 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.3258, allocations: 4 kB / 0.7889 GB, free: 7.949 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.3259, allocations: 122.4 kB / 0.7891 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.326, allocations: 7.906 kB / 0.7891 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.3264, allocations: 129.6 kB / 0.7892 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3264, allocations: 3.938 kB / 0.7892 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3264, allocations: 0 / 0.7892 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3264, allocations: 7.922 kB / 0.7892 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.327, allocations: 378.7 kB / 0.7896 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.327, allocations: 4 kB / 0.7896 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3272, allocations: 23.98 kB / 0.7896 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3272, allocations: 4 kB / 0.7896 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.3272, allocations: 11.92 kB / 0.7896 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3273, allocations: 0 / 0.7896 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3273, allocations: 0 / 0.7896 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.3278, allocations: 259.3 kB / 0.7898 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.3279, allocations: 81.14 kB / 0.7899 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3279, allocations: 3.938 kB / 0.7899 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.328, allocations: 8.188 kB / 0.7899 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.328, allocations: 7.984 kB / 0.7899 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.328, allocations: 7.984 kB / 0.7899 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.3281, allocations: 87.27 kB / 0.79 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3281, allocations: 0 / 0.79 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002813/0.3284, allocations: 36 kB / 0.7901 GB, free: 6.68 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002659/0.3287, allocations: 139.2 kB / 0.7902 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.329, allocations: 87.83 kB / 0.7903 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.329, allocations: 0 / 0.7903 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.3292, allocations: 43.97 kB / 0.7903 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.3295, allocations: 11.94 kB / 0.7903 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/0.3304, allocations: 365.2 kB / 0.7907 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.3307, allocations: 0.6926 MB / 0.7914 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.3307, allocations: 19.44 kB / 0.7914 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.3307, allocations: 0 / 0.7914 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of Templates: time 0.003081/0.3338, allocations: 1.312 MB / 0.7927 GB, free: 3.965 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o] Error 1