Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009374/0.000937, allocations: 92.16 kB / 16.02 MB, free: 80 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.001306/0.001306, allocations: 182 kB / 16.92 MB, free: 6.922 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.987/1.987, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.889/1.889, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0005388/0.0005389, allocations: 16.73 kB / 0.675 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2948, allocations: 116.3 MB / 0.7886 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001529/0.2963, allocations: 1.009 MB / 0.7895 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2974, allocations: 0.624 MB / 0.7901 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.531e-05/0.2975, allocations: 0 / 0.7901 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.2975, allocations: 0 / 0.7901 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.2975, allocations: 0 / 0.7901 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.298, allocations: 119.6 kB / 0.7903 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.809e-05/0.2981, allocations: 31.8 kB / 0.7903 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.2981, allocations: 4 kB / 0.7903 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.906e-05/0.2982, allocations: 7.984 kB / 0.7903 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.645e-05/0.2982, allocations: 11.94 kB / 0.7903 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.2983, allocations: 0 / 0.7903 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004864/0.2988, allocations: 347.3 kB / 0.7906 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.2988, allocations: 0 / 0.7906 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.2988, allocations: 37.62 kB / 0.7907 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.299, allocations: 96.11 kB / 0.7908 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.299, allocations: 0 / 0.7908 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.299, allocations: 0 / 0.7908 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2991, allocations: 0 / 0.7908 GB, free: 9.301 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004462/0.2995, allocations: 363.4 kB / 0.7911 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2996, allocations: 8.031 kB / 0.7911 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.2996, allocations: 4.938 kB / 0.7911 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2997, allocations: 160.4 kB / 0.7913 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2998, allocations: 384 / 0.7913 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.2998, allocations: 4.375 kB / 0.7913 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.2999, allocations: 42.25 kB / 0.7913 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2999, allocations: 192 / 0.7913 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3, allocations: 7.875 kB / 0.7913 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3, allocations: 7.938 kB / 0.7913 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.3, allocations: 11.98 kB / 0.7914 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.3002, allocations: 161.7 kB / 0.7915 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.3004, allocations: 42.56 kB / 0.7915 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/0.3005, allocations: 16.86 kB / 0.7916 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3005, allocations: 0 / 0.7916 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.3005, allocations: 34.56 kB / 0.7916 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3005, allocations: 3.938 kB / 0.7916 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006724/0.3012, allocations: 322.4 kB / 0.7919 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3013, allocations: 51.41 kB / 0.792 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.3013, allocations: 97.86 kB / 0.7921 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3014, allocations: 25.7 kB / 0.7921 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.3014, allocations: 80.14 kB / 0.7922 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.3015, allocations: 27.78 kB / 0.7922 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.3015, allocations: 13.72 kB / 0.7922 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3016, allocations: 314.8 kB / 0.7925 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.3017, allocations: 11.98 kB / 0.7925 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.3017, allocations: 12 kB / 0.7925 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.974e-05/0.3018, allocations: 33 kB / 0.7925 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.3018, allocations: 0 / 0.7925 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.472e-05/0.3019, allocations: 73.53 kB / 0.7926 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3019, allocations: 7.938 kB / 0.7926 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3019, allocations: 4 kB / 0.7926 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3019, allocations: 0 / 0.7926 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.302, allocations: 15.98 kB / 0.7926 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.302, allocations: 0 / 0.7926 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.302, allocations: 0 / 0.7926 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.302, allocations: 0 / 0.7926 GB, free: 7.109 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 (7): * Single equations (assignments): 7 * 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 9.555e-05/0.3021, allocations: 113.8 kB / 0.7928 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/0.3022, allocations: 3.938 kB / 0.7928 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.3023, allocations: 77.58 kB / 0.7928 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3023, allocations: 4 kB / 0.7928 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3023, allocations: 0 / 0.7928 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3023, allocations: 0 / 0.7928 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.3027, allocations: 315.3 kB / 0.7931 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3027, allocations: 3.938 kB / 0.7931 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.3028, allocations: 15.98 kB / 0.7932 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3028, allocations: 0 / 0.7932 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3028, allocations: 0 / 0.7932 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3028, allocations: 4 kB / 0.7932 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3028, allocations: 4.031 kB / 0.7932 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.303, allocations: 184.4 kB / 0.7933 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.3031, allocations: 89.12 kB / 0.7934 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.3031, allocations: 0 / 0.7934 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.746e-05/0.3032, allocations: 0 / 0.7934 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.3032, allocations: 11.92 kB / 0.7934 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3032, allocations: 8.062 kB / 0.7934 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.3033, allocations: 79.28 kB / 0.7935 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3033, allocations: 0 / 0.7935 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002533/0.3036, allocations: 23.94 kB / 0.7935 GB, free: 6.074 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002071/0.3038, allocations: 115.2 kB / 0.7936 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.3039, allocations: 35.92 kB / 0.7937 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3039, allocations: 4 kB / 0.7937 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.3039, allocations: 15.98 kB / 0.7937 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.3042, allocations: 16 kB / 0.7937 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004553/0.3046, allocations: 251.7 kB / 0.794 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.3049, allocations: 0.6809 MB / 0.7946 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.3049, allocations: 7.438 kB / 0.7946 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.3049, allocations: 7.938 kB / 0.7946 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of Templates: time 0.002423/0.3074, allocations: 0.7829 MB / 0.7954 GB, free: 4.094 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_DerivativeCheckCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o] Error 1