Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_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.001015/0.001016, allocations: 102 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.001312/0.001312, allocations: 176.6 kB / 16.58 MB, free: 6.117 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.461/1.461, allocations: 223.2 MB / 240.6 MB, free: 5.012 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.745/2.745, allocations: 436.7 MB / 0.7113 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005026, allocations: 12 kB / 0.8717 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8479/0.8485, allocations: 153.7 MB / 1.022 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001522/0.85, allocations: 1.008 MB / 1.023 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.8511, allocations: 0.5532 MB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.8512, allocations: 4 kB / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.969e-05/0.8512, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.8512, allocations: 0 / 1.023 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.8518, allocations: 127.6 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.208e-05/0.8518, allocations: 19.88 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/0.8519, allocations: 3.984 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.8519, allocations: 4 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.852, allocations: 15.88 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.852, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005167/0.8526, allocations: 335.3 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.8526, allocations: 8 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.889e-05/0.8526, allocations: 25.7 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.8528, allocations: 97.78 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8528, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8529, allocations: 4 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.8529, allocations: 0 / 1.024 GB, free: 14.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004794/0.8534, allocations: 357 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.8534, allocations: 11.98 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.8534, allocations: 3.984 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.8536, allocations: 167 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.8536, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.8536, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.8538, allocations: 53.58 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.8538, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.8538, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.8538, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.749e-05/0.8539, allocations: 12 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.8541, allocations: 153.7 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.8543, allocations: 50.55 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.8543, allocations: 20.94 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.8544, allocations: 4 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.8544, allocations: 42.45 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.8544, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0006664/0.8551, allocations: 310.2 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.8551, allocations: 55.39 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.489e-05/0.8552, allocations: 93.86 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.8552, allocations: 33.64 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.8553, allocations: 88.12 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.8553, allocations: 19.73 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.8553, allocations: 4 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8555, allocations: 310.8 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.8555, allocations: 12 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.8555, allocations: 11.98 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.438e-05/0.8555, allocations: 15.94 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.8556, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.952e-05/0.8557, allocations: 69.59 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.8557, allocations: 7.953 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.8557, allocations: 4 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.8557, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.8558, allocations: 8 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.8558, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.8558, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.8558, allocations: 4 kB / 1.026 GB, free: 12.7 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 (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 8.06e-05/0.8559, allocations: 109.8 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.8559, allocations: 11.94 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.8561, allocations: 73.61 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8561, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.8561, allocations: 128 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.8561, allocations: 4 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.8565, allocations: 319.4 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.8565, allocations: 3.953 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.8566, allocations: 8 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.8566, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.8566, allocations: 8.031 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8566, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8566, allocations: 0 / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.8568, allocations: 180.2 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.8569, allocations: 89.03 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.8569, allocations: 7.984 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.857, allocations: 4.062 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.857, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.8571, allocations: 4 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.8571, allocations: 75.28 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8571, allocations: 3.938 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002522/0.8574, allocations: 27.98 kB / 1.027 GB, free: 11.67 MB / 0.7794 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.0002282/0.8576, allocations: 119.2 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.8577, allocations: 36.16 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8577, allocations: 8 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.409e-05/0.8578, allocations: 12 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.858, allocations: 5.625 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.8585, allocations: 255.9 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.8588, allocations: 0.6731 MB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.8589, allocations: 15.42 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8589, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of Templates: time 0.002455/0.8613, allocations: 0.7887 MB / 1.028 GB, free: 9.707 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o] Error 1