Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_9_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.0008217/0.0008218, allocations: 102.7 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.001218/0.001219, allocations: 176.4 kB / 16.58 MB, free: 6.863 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.552/1.552, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 390.4 MB / 0.6662 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 12 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8582/0.8586, allocations: 142.3 MB / 0.9544 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001997/0.8606, allocations: 1.171 MB / 0.9556 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.8618, allocations: 0.5942 MB / 0.9561 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.8619, allocations: 1.156 kB / 0.9561 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.8619, allocations: 0 / 0.9561 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.862, allocations: 5.125 kB / 0.9561 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.8625, allocations: 133.5 kB / 0.9563 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.8626, allocations: 48.16 kB / 0.9563 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.674e-05/0.8627, allocations: 2.781 kB / 0.9563 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.8628, allocations: 24.94 kB / 0.9563 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.8629, allocations: 23.81 kB / 0.9564 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.8629, allocations: 3.156 kB / 0.9564 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005915/0.8635, allocations: 342.6 kB / 0.9567 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.8636, allocations: 6.688 kB / 0.9567 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.8636, allocations: 34.55 kB / 0.9567 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.8639, allocations: 116.5 kB / 0.9568 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.8639, allocations: 0 / 0.9568 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8639, allocations: 0 / 0.9568 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.8639, allocations: 0.9688 kB / 0.9568 GB, free: 6.449 MB / 0.7169 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.0006798/0.8646, allocations: 398.5 kB / 0.9572 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.8647, allocations: 9.906 kB / 0.9572 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.8647, allocations: 11.55 kB / 0.9572 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.8649, allocations: 175.9 kB / 0.9574 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.8649, allocations: 7.125 kB / 0.9574 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.8649, allocations: 8.625 kB / 0.9574 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.8652, allocations: 85.28 kB / 0.9575 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.8652, allocations: 4 kB / 0.9575 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.8652, allocations: 1.281 kB / 0.9575 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.8653, allocations: 1.062 kB / 0.9575 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.8655, allocations: 59.53 kB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.8661, allocations: 329.8 kB / 0.9579 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.8664, allocations: 87.38 kB / 0.958 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.8665, allocations: 30.09 kB / 0.958 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.8666, allocations: 5.422 kB / 0.958 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.8666, allocations: 35.91 kB / 0.958 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.8666, allocations: 0 / 0.958 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001646/0.8682, allocations: 0.6785 MB / 0.9587 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.8683, allocations: 56.89 kB / 0.9588 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.8684, allocations: 98.39 kB / 0.9588 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.8684, allocations: 27.2 kB / 0.9589 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.8685, allocations: 101.6 kB / 0.959 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.8685, allocations: 31.97 kB / 0.959 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.8685, allocations: 1.344 kB / 0.959 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.8686, allocations: 320.3 kB / 0.9593 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.8687, allocations: 32.95 kB / 0.9593 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.8688, allocations: 34.22 kB / 0.9594 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.869, allocations: 43.33 kB / 0.9594 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.869, allocations: 0 / 0.9594 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003078/0.8693, allocations: 134.4 kB / 0.9595 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.8693, allocations: 8.781 kB / 0.9596 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8693, allocations: 5.781 kB / 0.9596 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.8693, allocations: 0 / 0.9596 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.8695, allocations: 26.11 kB / 0.9596 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.8695, allocations: 1.656 kB / 0.9596 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.8696, allocations: 9.328 kB / 0.9596 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.8696, allocations: 6.469 kB / 0.9596 GB, free: 3.918 MB / 0.7169 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.268e-05/0.8697, allocations: 113.8 kB / 0.9597 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.8697, allocations: 14.27 kB / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.8701, allocations: 142.7 kB / 0.9599 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.8701, allocations: 9.297 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8701, allocations: 0 / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8701, allocations: 1.375 kB / 0.9599 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.8706, allocations: 399.2 kB / 0.9602 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8707, allocations: 1.375 kB / 0.9602 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.8708, allocations: 24.89 kB / 0.9603 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.8708, allocations: 1.812 kB / 0.9603 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.8708, allocations: 5.219 kB / 0.9603 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8708, allocations: 4 kB / 0.9603 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8708, allocations: 1.25 kB / 0.9603 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.8713, allocations: 262 kB / 0.9605 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.8713, allocations: 82.39 kB / 0.9606 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.8714, allocations: 5.469 kB / 0.9606 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.8715, allocations: 10.2 kB / 0.9606 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.8715, allocations: 7.703 kB / 0.9606 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.8715, allocations: 6.906 kB / 0.9606 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.867e-05/0.8716, allocations: 79.16 kB / 0.9607 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8716, allocations: 0 / 0.9607 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003118/0.8719, allocations: 42.05 kB / 0.9608 GB, free: 2.902 MB / 0.7169 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 (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.0002641/0.8722, allocations: 137.7 kB / 0.9609 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.8725, allocations: 87.17 kB / 0.961 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.8725, allocations: 1.062 kB / 0.961 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.8726, allocations: 50.75 kB / 0.961 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.873, allocations: 12.95 kB / 0.961 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/0.8737, allocations: 414.3 kB / 0.9614 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.8739, allocations: 0.6908 MB / 0.9621 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.874, allocations: 14.72 kB / 0.9621 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.874, allocations: 0 / 0.9621 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.003949/0.8779, allocations: 1.302 MB / 0.9634 GB, free: 1.008 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o] Error 1