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.001707/0.001707, allocations: 100.5 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.002061/0.002062, allocations: 176 kB / 16.58 MB, free: 6.422 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.911/1.911, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.804/1.804, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.0005944/0.0005945, allocations: 17 kB / 0.6744 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3434, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001637/0.3451, allocations: 0.9976 MB / 0.7889 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3462, allocations: 0.5582 MB / 0.7894 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.3462, allocations: 4 kB / 0.7895 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.3463, allocations: 0 / 0.7895 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.3463, allocations: 11.91 kB / 0.7895 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.3469, allocations: 121.1 kB / 0.7896 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.347, allocations: 19.92 kB / 0.7896 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.47e-05/0.3471, allocations: 0 / 0.7896 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.914e-05/0.3471, allocations: 7.938 kB / 0.7896 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.3472, allocations: 15.97 kB / 0.7896 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3472, allocations: 0 / 0.7896 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005326/0.3478, allocations: 331.3 kB / 0.7899 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.3478, allocations: 11.98 kB / 0.7899 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.3478, allocations: 29.7 kB / 0.79 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.348, allocations: 96.06 kB / 0.7901 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3481, allocations: 0 / 0.7901 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3481, allocations: 0 / 0.7901 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.3481, allocations: 0 / 0.7901 GB, free: 9.742 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.0005326/0.3486, allocations: 363.2 kB / 0.7904 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.3487, allocations: 8.031 kB / 0.7904 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.3487, allocations: 3.938 kB / 0.7904 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.3489, allocations: 167 kB / 0.7906 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.3489, allocations: 4 kB / 0.7906 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.3489, allocations: 4 kB / 0.7906 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3491, allocations: 41.62 kB / 0.7906 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3491, allocations: 0 / 0.7906 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3491, allocations: 0 / 0.7906 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.3491, allocations: 0 / 0.7906 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.3492, allocations: 15.98 kB / 0.7906 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.3494, allocations: 161.7 kB / 0.7908 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.3496, allocations: 54.48 kB / 0.7909 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.3497, allocations: 16.86 kB / 0.7909 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.3497, allocations: 0 / 0.7909 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3497, allocations: 38.64 kB / 0.7909 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3497, allocations: 0 / 0.7909 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0007302/0.3505, allocations: 306.2 kB / 0.7912 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3505, allocations: 55.41 kB / 0.7913 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3506, allocations: 97.84 kB / 0.7913 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3507, allocations: 25.7 kB / 0.7914 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.3507, allocations: 88.08 kB / 0.7915 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.3508, allocations: 15.72 kB / 0.7915 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.3508, allocations: 7.938 kB / 0.7915 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3509, allocations: 310.8 kB / 0.7918 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.351, allocations: 15.98 kB / 0.7918 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.794e-05/0.351, allocations: 15.98 kB / 0.7918 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.351, allocations: 15.95 kB / 0.7918 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3511, allocations: 0 / 0.7918 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.402e-05/0.3512, allocations: 69.58 kB / 0.7919 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3512, allocations: 4 kB / 0.7919 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3512, allocations: 0 / 0.7919 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3512, allocations: 4 kB / 0.7919 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.3513, allocations: 11.98 kB / 0.7919 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3513, allocations: 3.938 kB / 0.7919 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.3513, allocations: 4 kB / 0.7919 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3513, allocations: 4 kB / 0.7919 GB, free: 7.586 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.836e-05/0.3514, allocations: 113.8 kB / 0.792 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.3515, allocations: 4 kB / 0.792 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.3516, allocations: 77.58 kB / 0.7921 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3516, allocations: 0 / 0.7921 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3516, allocations: 0 / 0.7921 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3517, allocations: 0 / 0.7921 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.352, allocations: 315.4 kB / 0.7924 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.352, allocations: 4.031 kB / 0.7924 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.3521, allocations: 8 kB / 0.7924 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3521, allocations: 3.984 kB / 0.7924 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3521, allocations: 4 kB / 0.7924 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3521, allocations: 3.938 kB / 0.7924 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3521, allocations: 0 / 0.7924 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.3523, allocations: 176.3 kB / 0.7926 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.3524, allocations: 89.19 kB / 0.7927 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3525, allocations: 4 kB / 0.7927 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.3525, allocations: 4.766 kB / 0.7927 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.3526, allocations: 0 / 0.7927 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.3526, allocations: 11.98 kB / 0.7927 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.3526, allocations: 79.27 kB / 0.7928 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3526, allocations: 0 / 0.7928 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002519/0.3529, allocations: 27.94 kB / 0.7928 GB, free: 6.562 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 (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.0002124/0.3531, allocations: 127.1 kB / 0.7929 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.3533, allocations: 35.98 kB / 0.793 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3533, allocations: 0 / 0.793 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.814e-05/0.3533, allocations: 15.94 kB / 0.793 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.3535, allocations: 11.94 kB / 0.793 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.354, allocations: 241 kB / 0.7932 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3543, allocations: 0.677 MB / 0.7939 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.3543, allocations: 11.44 kB / 0.7939 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3543, allocations: 0 / 0.7939 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of Templates: time 0.002764/0.3571, allocations: 0.7968 MB / 0.7947 GB, free: 4.586 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++ 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_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