Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_9_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_9_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.0009338/0.0009338, allocations: 102.5 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.0009596/0.0009594, allocations: 179.8 kB / 16.58 MB, free: 6.141 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.538/1.538, allocations: 223.3 MB / 240.6 MB, free: 5.336 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.663/2.663, allocations: 390.5 MB / 0.6662 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004051, allocations: 8 kB / 0.8154 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.8086, allocations: 142.3 MB / 0.9544 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001307/0.81, allocations: 1.004 MB / 0.9554 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.8109, allocations: 0.5646 MB / 0.9559 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.811, allocations: 0 / 0.9559 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.811, allocations: 0 / 0.9559 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.8111, allocations: 1.469 kB / 0.9559 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.8115, allocations: 119.4 kB / 0.9561 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.8116, allocations: 15.83 kB / 0.9561 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.876e-05/0.8117, allocations: 9.266 kB / 0.9561 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.737e-05/0.8117, allocations: 8.219 kB / 0.9561 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.8118, allocations: 8.094 kB / 0.9561 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.8118, allocations: 0 / 0.9561 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.8123, allocations: 339.7 kB / 0.9564 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.8123, allocations: 1.406 kB / 0.9564 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.8123, allocations: 32.53 kB / 0.9565 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.8125, allocations: 100.4 kB / 0.9565 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.8125, allocations: 0 / 0.9565 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8126, allocations: 0 / 0.9565 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.8126, allocations: 3.938 kB / 0.9566 GB, free: 6.754 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003479/0.8129, allocations: 354.6 kB / 0.9569 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.813, allocations: 13.77 kB / 0.9569 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.813, allocations: 5.422 kB / 0.9569 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.909e-05/0.8131, allocations: 164.5 kB / 0.9571 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.8131, allocations: 9.438 kB / 0.9571 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.8132, allocations: 1.406 kB / 0.9571 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.8133, allocations: 39.62 kB / 0.9571 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.8133, allocations: 1.062 kB / 0.9571 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.8133, allocations: 0 / 0.9571 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.8133, allocations: 5.344 kB / 0.9571 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.8134, allocations: 9.828 kB / 0.9571 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.8135, allocations: 158.4 kB / 0.9573 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.8137, allocations: 51.72 kB / 0.9573 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.8137, allocations: 16.11 kB / 0.9573 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.8138, allocations: 1.25 kB / 0.9573 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.8138, allocations: 36 kB / 0.9574 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.8138, allocations: 3.938 kB / 0.9574 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0005878/0.8144, allocations: 317.8 kB / 0.9577 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.8144, allocations: 53.16 kB / 0.9577 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.116e-05/0.8145, allocations: 100.9 kB / 0.9578 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.8145, allocations: 26.64 kB / 0.9579 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.229e-05/0.8145, allocations: 81.17 kB / 0.9579 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.8146, allocations: 26.48 kB / 0.958 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.8146, allocations: 0 / 0.958 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.8146, allocations: 312.2 kB / 0.9583 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.8147, allocations: 9.438 kB / 0.9583 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.8147, allocations: 23.34 kB / 0.9583 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.8147, allocations: 11.12 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.8147, allocations: 0 / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001056/0.8148, allocations: 72.16 kB / 0.9584 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.8149, allocations: 4.781 kB / 0.9584 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8149, allocations: 4.969 kB / 0.9584 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.8149, allocations: 0 / 0.9584 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.8149, allocations: 10 kB / 0.9584 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.815, allocations: 1.219 kB / 0.9584 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.815, allocations: 3.953 kB / 0.9584 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.815, allocations: 2.562 kB / 0.9584 GB, free: 4.801 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 (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 6.118e-05/0.8151, allocations: 119.2 kB / 0.9585 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.8151, allocations: 1.375 kB / 0.9585 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.8152, allocations: 67.19 kB / 0.9586 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8152, allocations: 5.594 kB / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.8152, allocations: 0 / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.8152, allocations: 0 / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.8155, allocations: 315.4 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8155, allocations: 1.344 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.8156, allocations: 9.125 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8156, allocations: 0.9688 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.8156, allocations: 5.062 kB / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8156, allocations: 1.125 kB / 0.9589 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.8157, allocations: 12.95 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.8159, allocations: 181.7 kB / 0.9591 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.8159, allocations: 78.48 kB / 0.9592 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.8159, allocations: 5.703 kB / 0.9592 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.816, allocations: 5.406 kB / 0.9592 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.816, allocations: 6.578 kB / 0.9592 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.816, allocations: 6.844 kB / 0.9592 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.127e-05/0.8161, allocations: 80.59 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8161, allocations: 1.406 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002526/0.8163, allocations: 22.05 kB / 0.9593 GB, free: 3.898 MB / 0.7169 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.0001793/0.8165, allocations: 128.5 kB / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.8166, allocations: 32.27 kB / 0.9594 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8166, allocations: 0 / 0.9594 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/0.8167, allocations: 19.31 kB / 0.9595 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.8169, allocations: 14.88 kB / 0.9595 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.8173, allocations: 245.6 kB / 0.9597 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.8174, allocations: 0.6822 MB / 0.9604 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.8175, allocations: 11.03 kB / 0.9604 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8175, allocations: 0 / 0.9604 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of Templates: time 0.002599/0.8201, allocations: 0.7904 MB / 0.9611 GB, free: 2.418 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o] Error 1