Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005605/0.005605, allocations: 100 kB / 15.87 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 187.3 kB / 16.79 MB, free: 5.805 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7011/0.7011, allocations: 132.2 MB / 422.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 62.41 kB / 0.5017 GB, free: 9.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1555, allocations: 80.22 MB / 0.58 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002508/0.158, allocations: 1.323 MB / 0.5813 GB, free: 7.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1591, allocations: 0.6478 MB / 0.582 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.657e-05/0.1591, allocations: 4 kB / 0.582 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1591, allocations: 4 kB / 0.582 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.1592, allocations: 3.938 kB / 0.582 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.1597, allocations: 119.6 kB / 0.5821 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.961e-05/0.1597, allocations: 19.92 kB / 0.5821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.1598, allocations: 7.984 kB / 0.5821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.1598, allocations: 7.938 kB / 0.5821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.1599, allocations: 8 kB / 0.5821 GB, free: 7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1599, allocations: 0 / 0.5821 GB, free: 7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.1604, allocations: 347.3 kB / 0.5825 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.1604, allocations: 4 kB / 0.5825 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.1604, allocations: 7.938 kB / 0.5825 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1606, allocations: 100.1 kB / 0.5826 GB, free: 6.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1606, allocations: 3.984 kB / 0.5826 GB, free: 6.547 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1606, allocations: 0 / 0.5826 GB, free: 6.547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1606, allocations: 3.938 kB / 0.5826 GB, free: 6.543 MB / 494.1 MB 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.0004431/0.1611, allocations: 359.4 kB / 0.5829 GB, free: 6.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1611, allocations: 12.03 kB / 0.5829 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.1612, allocations: 0.9375 kB / 0.5829 GB, free: 6.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1613, allocations: 168.4 kB / 0.5831 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1613, allocations: 4.375 kB / 0.5831 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.1614, allocations: 384 / 0.5831 GB, free: 5.926 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.1615, allocations: 49.75 kB / 0.5831 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1615, allocations: 0 / 0.5831 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1615, allocations: 0 / 0.5831 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1615, allocations: 0 / 0.5831 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.1615, allocations: 12 kB / 0.5832 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.1617, allocations: 157.6 kB / 0.5833 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.1619, allocations: 46.61 kB / 0.5834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.428e-05/0.1619, allocations: 24.88 kB / 0.5834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.162, allocations: 0 / 0.5834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.162, allocations: 34.5 kB / 0.5834 GB, free: 5.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.162, allocations: 4 kB / 0.5834 GB, free: 5.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005859/0.1626, allocations: 310.5 kB / 0.5837 GB, free: 5.172 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.1626, allocations: 55.34 kB / 0.5838 GB, free: 5.105 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.1627, allocations: 101.8 kB / 0.5839 GB, free: 4.996 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1627, allocations: 25.7 kB / 0.5839 GB, free: 4.965 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.1627, allocations: 84.14 kB / 0.584 GB, free: 4.879 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.1628, allocations: 15.72 kB / 0.584 GB, free: 4.863 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1628, allocations: 21.7 kB / 0.584 GB, free: 4.836 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1629, allocations: 318.8 kB / 0.5843 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.163, allocations: 11.98 kB / 0.5843 GB, free: 4.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.188e-05/0.163, allocations: 15.98 kB / 0.5843 GB, free: 4.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.572e-05/0.163, allocations: 36.8 kB / 0.5844 GB, free: 4.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.163, allocations: 0 / 0.5844 GB, free: 4.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.76e-05/0.1631, allocations: 69.56 kB / 0.5844 GB, free: 4.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1632, allocations: 4 kB / 0.5844 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1632, allocations: 0 / 0.5844 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1632, allocations: 0 / 0.5844 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-05/0.1632, allocations: 8 kB / 0.5844 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1632, allocations: 4 kB / 0.5844 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.1633, allocations: 11.98 kB / 0.5845 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.1633, allocations: 4.062 kB / 0.5845 GB, free: 4.344 MB / 494.1 MB 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 6.899e-05/0.1634, allocations: 114.4 kB / 0.5846 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.1634, allocations: 3.938 kB / 0.5846 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.1635, allocations: 69.66 kB / 0.5846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1635, allocations: 4 kB / 0.5846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1635, allocations: 0 / 0.5846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1635, allocations: 3.984 kB / 0.5846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.1638, allocations: 319.3 kB / 0.585 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1639, allocations: 0 / 0.585 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.1639, allocations: 12 kB / 0.585 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1639, allocations: 0 / 0.585 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.1639, allocations: 0 / 0.585 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1639, allocations: 4.234 kB / 0.585 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1639, allocations: 3.984 kB / 0.585 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1641, allocations: 188.3 kB / 0.5852 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.1642, allocations: 85.12 kB / 0.5852 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1642, allocations: 4 kB / 0.5852 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.1643, allocations: 0 / 0.5852 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.085e-05/0.1643, allocations: 4 kB / 0.5852 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1643, allocations: 0 / 0.5852 GB, free: 3.434 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.652e-05/0.1644, allocations: 83.27 kB / 0.5853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1644, allocations: 0 / 0.5853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1646, allocations: 27.94 kB / 0.5853 GB, free: 3.324 MB / 494.1 MB 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.0001909/0.1648, allocations: 119.2 kB / 0.5855 GB, free: 3.195 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.1649, allocations: 39.86 kB / 0.5855 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.165, allocations: 0 / 0.5855 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.406e-05/0.165, allocations: 16.19 kB / 0.5855 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.1652, allocations: 11.88 kB / 0.5855 GB, free: 3.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.1656, allocations: 236.1 kB / 0.5858 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.1658, allocations: 0.6809 MB / 0.5864 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.1658, allocations: 15.44 kB / 0.5864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1658, allocations: 0 / 0.5864 GB, free: 2.141 MB / 494.1 MB Notification: Performance of Templates: time 0.002352/0.1682, allocations: 0.7788 MB / 0.5872 GB, free: 1.371 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o] Error 1