Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001076/0.001076, 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.001628/0.001628, allocations: 174.9 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.623/1.623, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.039/1.039, allocations: 143.4 MB / 435.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005021, allocations: 11.98 kB / 0.5166 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.217, allocations: 83.4 MB / 0.5981 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001732/0.2187, allocations: 0.9939 MB / 0.599 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.22, allocations: 0.5689 MB / 0.5996 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.22, allocations: 0 / 0.5996 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.97e-05/0.2201, allocations: 0 / 0.5996 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.2201, allocations: 3.984 kB / 0.5996 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.2209, allocations: 119.5 kB / 0.5997 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.968e-05/0.2209, allocations: 15.94 kB / 0.5997 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.359e-05/0.221, allocations: 4 kB / 0.5997 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.586e-05/0.2211, allocations: 7.984 kB / 0.5997 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.2211, allocations: 19.92 kB / 0.5998 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2212, allocations: 0 / 0.5998 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006144/0.2218, allocations: 331.3 kB / 0.6001 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.2218, allocations: 7.984 kB / 0.6001 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.2219, allocations: 29.7 kB / 0.6001 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.2221, allocations: 92.11 kB / 0.6002 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2221, allocations: 4 kB / 0.6002 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2221, allocations: 0 / 0.6002 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.2221, allocations: 0 / 0.6002 GB, free: 5.656 MB / 0.4981 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.0005403/0.2227, allocations: 357.6 kB / 0.6005 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.2228, allocations: 12.03 kB / 0.6006 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.2228, allocations: 15.86 kB / 0.6006 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.223, allocations: 163.1 kB / 0.6007 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.223, allocations: 3.938 kB / 0.6007 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.223, allocations: 4 kB / 0.6007 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.2232, allocations: 41.62 kB / 0.6008 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2232, allocations: 0 / 0.6008 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2232, allocations: 4 kB / 0.6008 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2233, allocations: 0 / 0.6008 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.711e-05/0.2233, allocations: 8 kB / 0.6008 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.2235, allocations: 169.6 kB / 0.6009 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.2238, allocations: 46.55 kB / 0.601 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/0.2238, allocations: 20.94 kB / 0.601 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.2239, allocations: 3.984 kB / 0.601 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.2239, allocations: 30.56 kB / 0.601 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.2239, allocations: 4 kB / 0.601 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007912/0.2247, allocations: 302.2 kB / 0.6013 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.2248, allocations: 55.41 kB / 0.6014 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.2249, allocations: 97.84 kB / 0.6015 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.2249, allocations: 25.7 kB / 0.6015 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.225, allocations: 84.14 kB / 0.6016 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.225, allocations: 15.72 kB / 0.6016 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.225, allocations: 4 kB / 0.6016 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2252, allocations: 322.8 kB / 0.6019 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.2252, allocations: 8 kB / 0.6019 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.402e-05/0.2252, allocations: 15.92 kB / 0.6019 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.2253, allocations: 20.14 kB / 0.602 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.2253, allocations: 0 / 0.602 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000117/0.2254, allocations: 65.67 kB / 0.602 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2254, allocations: 11.88 kB / 0.602 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2254, allocations: 0 / 0.602 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2255, allocations: 0 / 0.602 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.249e-05/0.2255, allocations: 16 kB / 0.602 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2255, allocations: 0 / 0.602 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.2256, allocations: 4 kB / 0.602 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2256, allocations: 0 / 0.602 GB, free: 3.504 MB / 0.4981 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 0.000104/0.2257, allocations: 117.7 kB / 0.6022 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.2257, allocations: 3.906 kB / 0.6022 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.2259, allocations: 77.64 kB / 0.6022 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2259, allocations: 0 / 0.6022 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2259, allocations: 0 / 0.6022 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2259, allocations: 4 kB / 0.6022 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.2263, allocations: 311.4 kB / 0.6025 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.2264, allocations: 3.984 kB / 0.6025 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-05/0.2264, allocations: 12.19 kB / 0.6025 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2265, allocations: 4 kB / 0.6026 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.2265, allocations: 0 / 0.6026 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2265, allocations: 0 / 0.6026 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2265, allocations: 4 kB / 0.6026 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.2267, allocations: 188.2 kB / 0.6027 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.2268, allocations: 81.14 kB / 0.6028 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.2268, allocations: 4 kB / 0.6028 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.2269, allocations: 3.984 kB / 0.6028 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.2269, allocations: 4 kB / 0.6028 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.2269, allocations: 0 / 0.6028 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.842e-05/0.227, allocations: 83.23 kB / 0.6029 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.227, allocations: 4.062 kB / 0.6029 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002672/0.2272, allocations: 31.92 kB / 0.6029 GB, free: 2.469 MB / 0.4981 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.0002514/0.2275, allocations: 115.9 kB / 0.603 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.2276, allocations: 35.92 kB / 0.6031 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2276, allocations: 0 / 0.6031 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.233e-05/0.2277, allocations: 19.94 kB / 0.6031 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.2279, allocations: 9.625 kB / 0.6031 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.2284, allocations: 247.5 kB / 0.6033 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.2288, allocations: 0.681 MB / 0.604 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.2288, allocations: 19.42 kB / 0.604 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.2288, allocations: 0 / 0.604 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of Templates: time 0.002885/0.2317, allocations: 0.7934 MB / 0.6048 GB, free: 0.4961 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheckCalcHelperMain.o] Error 1