Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008455/0.0008454, allocations: 98.88 kB / 16.02 MB, free: 72 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.00104/0.001039, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.296/1.296, allocations: 223.2 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7034/0.7034, allocations: 132.3 MB / 424.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002932, allocations: 12.81 kB / 0.5046 GB, free: 3.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4218, allocations: 81.57 MB / 0.5843 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001595/0.4235, allocations: 1.195 MB / 0.5855 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.4245, allocations: 0.6417 MB / 0.5861 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.4246, allocations: 2.75 kB / 0.5861 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.4246, allocations: 4.734 kB / 0.5861 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.4247, allocations: 1.484 kB / 0.5861 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.4252, allocations: 138.1 kB / 0.5862 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.574e-05/0.4253, allocations: 48.2 kB / 0.5863 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.4253, allocations: 4.234 kB / 0.5863 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.854e-05/0.4254, allocations: 24.89 kB / 0.5863 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.4254, allocations: 24.88 kB / 0.5863 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.4255, allocations: 5.531 kB / 0.5863 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.426, allocations: 347.7 kB / 0.5867 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.4261, allocations: 12.17 kB / 0.5867 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.4261, allocations: 48.31 kB / 0.5867 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.4263, allocations: 120 kB / 0.5868 GB, free: 2.441 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4263, allocations: 0 / 0.5868 GB, free: 2.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4263, allocations: 1.406 kB / 0.5868 GB, free: 2.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.4264, allocations: 0 / 0.5868 GB, free: 2.441 MB / 430.1 MB 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.0005357/0.4269, allocations: 392.4 kB / 0.5872 GB, free: 2.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4269, allocations: 8.688 kB / 0.5872 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.427, allocations: 9.094 kB / 0.5872 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.303e-05/0.4271, allocations: 176 kB / 0.5874 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.4271, allocations: 3.938 kB / 0.5874 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.4272, allocations: 8.656 kB / 0.5874 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.4274, allocations: 89.73 kB / 0.5875 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4274, allocations: 1.531 kB / 0.5875 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.4274, allocations: 0.9062 kB / 0.5875 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4275, allocations: 5.547 kB / 0.5875 GB, free: 1.785 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.4277, allocations: 58.8 kB / 0.5875 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.4283, allocations: 326 kB / 0.5879 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.4286, allocations: 91.25 kB / 0.5879 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.4287, allocations: 32.03 kB / 0.588 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.4288, allocations: 1.391 kB / 0.588 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.4288, allocations: 48.73 kB / 0.588 GB, free: 1.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.4288, allocations: 0 / 0.588 GB, free: 1.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001587/0.4304, allocations: 0.667 MB / 0.5887 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.4304, allocations: 60.31 kB / 0.5887 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.4305, allocations: 102.2 kB / 0.5888 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.4305, allocations: 26.89 kB / 0.5889 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.4305, allocations: 99.25 kB / 0.589 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.4306, allocations: 43.86 kB / 0.589 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.4306, allocations: 18.67 kB / 0.589 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.4307, allocations: 318.7 kB / 0.5893 GB, free: 180 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.4308, allocations: 36.11 kB / 0.5893 GB, free: 172 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.431, allocations: 40.92 kB / 0.5894 GB, free: 160 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.4312, allocations: 78.05 kB / 0.5895 GB, free: 132 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4312, allocations: 4.531 kB / 0.5895 GB, free: 128 kB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000319/0.4316, allocations: 125.5 kB / 0.5896 GB, free: 72 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.4316, allocations: 6.281 kB / 0.5896 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4316, allocations: 0 / 0.5896 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4316, allocations: 1.031 kB / 0.5896 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4318, allocations: 38.61 kB / 0.5896 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.4318, allocations: 5.516 kB / 0.5896 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.4319, allocations: 6.922 kB / 0.5896 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.4319, allocations: 2.938 kB / 0.5896 GB, free: 56 kB / 430.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 (13): * Single equations (assignments): 13 * 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 0.000107/0.432, allocations: 123.2 kB / 0.5898 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.4321, allocations: 7.188 kB / 0.5898 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.4325, allocations: 141.3 kB / 0.5899 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4325, allocations: 5.797 kB / 0.5899 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4325, allocations: 0.8125 kB / 0.5899 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4325, allocations: 0.5625 kB / 0.5899 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.4331, allocations: 386.7 kB / 0.5903 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4331, allocations: 1.312 kB / 0.5903 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.4333, allocations: 30.52 kB / 0.5903 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4333, allocations: 0.6562 kB / 0.5903 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.4333, allocations: 3.109 kB / 0.5903 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4333, allocations: 0.75 kB / 0.5903 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4333, allocations: 1 kB / 0.5903 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.4339, allocations: 267.5 kB / 0.5906 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.4339, allocations: 82.42 kB / 0.5906 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.4339, allocations: 5.719 kB / 0.5907 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.4341, allocations: 13.28 kB / 0.5907 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.4341, allocations: 9.75 kB / 0.5907 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.4341, allocations: 7.594 kB / 0.5907 GB, free: 15.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.722e-05/0.4342, allocations: 80.19 kB / 0.5908 GB, free: 15.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4342, allocations: 0 / 0.5908 GB, free: 15.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.4345, allocations: 42.94 kB / 0.5908 GB, free: 15.13 MB / 446.1 MB 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 (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.0002105/0.4347, allocations: 130.8 kB / 0.5909 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.4351, allocations: 95.86 kB / 0.591 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4351, allocations: 0 / 0.591 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.4352, allocations: 50.48 kB / 0.5911 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.4355, allocations: 13.41 kB / 0.5911 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007408/0.4363, allocations: 419.4 kB / 0.5915 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.4365, allocations: 0.6997 MB / 0.5922 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.4366, allocations: 15.03 kB / 0.5922 GB, free: 13.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4366, allocations: 0 / 0.5922 GB, free: 13.96 MB / 446.1 MB Notification: Performance of Templates: time 0.003496/0.4401, allocations: 1.296 MB / 0.5934 GB, free: 13.86 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2CalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2CalcHelperMain.o] Error 1