Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009445/0.0009446, allocations: 99.59 kB / 15.71 MB, free: 452 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.00117/0.001171, allocations: 177.1 kB / 16.58 MB, free: 6.879 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.57/1.57, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.118/1.118, allocations: 143.4 MB / 435.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003993, allocations: 12 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2155, allocations: 83.41 MB / 0.5981 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001377/0.2169, allocations: 0.9744 MB / 0.599 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009199/0.2178, allocations: 0.5417 MB / 0.5995 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.2179, allocations: 0 / 0.5995 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.2179, allocations: 4 kB / 0.5995 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.218, allocations: 3.938 kB / 0.5995 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.2184, allocations: 119.5 kB / 0.5997 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.384e-05/0.2185, allocations: 11.94 kB / 0.5997 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.2185, allocations: 4 kB / 0.5997 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.2186, allocations: 0 / 0.5997 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.977e-05/0.2186, allocations: 4 kB / 0.5997 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.2186, allocations: 0 / 0.5997 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.2191, allocations: 339.3 kB / 0.6 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.684e-06/0.2191, allocations: 0 / 0.6 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.2192, allocations: 25.7 kB / 0.6 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.2193, allocations: 104 kB / 0.6001 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2194, allocations: 0 / 0.6001 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2194, allocations: 0 / 0.6001 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.2194, allocations: 4 kB / 0.6001 GB, free: 5.688 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004094/0.2198, allocations: 343.3 kB / 0.6005 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2198, allocations: 12.03 kB / 0.6005 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.2199, allocations: 3.953 kB / 0.6005 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.22, allocations: 163 kB / 0.6006 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.22, allocations: 0 / 0.6006 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.2201, allocations: 4 kB / 0.6006 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.2202, allocations: 33.69 kB / 0.6007 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2202, allocations: 4 kB / 0.6007 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.2202, allocations: 4 kB / 0.6007 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2202, allocations: 3.938 kB / 0.6007 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.2202, allocations: 3.984 kB / 0.6007 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.2205, allocations: 161.5 kB / 0.6008 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.526e-05/0.2205, allocations: 22.55 kB / 0.6009 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.851e-05/0.2206, allocations: 8.922 kB / 0.6009 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.2206, allocations: 4 kB / 0.6009 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.2206, allocations: 34.56 kB / 0.6009 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2206, allocations: 4 kB / 0.6009 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001655/0.2208, allocations: 37.69 kB / 0.6009 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.2209, allocations: 51.41 kB / 0.601 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.221, allocations: 97.86 kB / 0.6011 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.221, allocations: 29.64 kB / 0.6011 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.221, allocations: 84.39 kB / 0.6012 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.2211, allocations: 3.906 kB / 0.6012 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.2211, allocations: 0 / 0.6012 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2212, allocations: 318.8 kB / 0.6015 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.2212, allocations: 8 kB / 0.6015 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.2212, allocations: 3.938 kB / 0.6015 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.879e-05/0.2213, allocations: 4 kB / 0.6015 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2213, allocations: 0 / 0.6015 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.048e-05/0.2213, allocations: 37.77 kB / 0.6016 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2214, allocations: 8 kB / 0.6016 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2214, allocations: 0 / 0.6016 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2214, allocations: 0 / 0.6016 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.2216, allocations: 15.98 kB / 0.6016 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003686/0.222, allocations: 0.5859 MB / 0.6021 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.222, allocations: 0 / 0.6021 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.222, allocations: 4.125 kB / 0.6022 GB, free: 3.379 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.157e-05/0.2221, allocations: 113.9 kB / 0.6023 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.2221, allocations: 0 / 0.6023 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.882e-05/0.2222, allocations: 40.83 kB / 0.6023 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2222, allocations: 0 / 0.6023 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2222, allocations: 7.891 kB / 0.6023 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2222, allocations: 3.984 kB / 0.6023 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.2224, allocations: 149.7 kB / 0.6025 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2224, allocations: 4.031 kB / 0.6025 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.2224, allocations: 11.98 kB / 0.6025 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2224, allocations: 3.938 kB / 0.6025 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.2225, allocations: 0 / 0.6025 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003071/0.2228, allocations: 0.5898 MB / 0.603 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2228, allocations: 4 kB / 0.6031 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.363e-05/0.2229, allocations: 69.16 kB / 0.6031 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.2229, allocations: 77.11 kB / 0.6032 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.2229, allocations: 3.953 kB / 0.6032 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.293e-05/0.223, allocations: 0 / 0.6032 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.223, allocations: 4 kB / 0.6032 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.223, allocations: 0 / 0.6032 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.223, allocations: 83.27 kB / 0.6033 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.223, allocations: 128 / 0.6033 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001913/0.2232, allocations: 16 kB / 0.6033 GB, free: 2.086 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001937/0.2234, allocations: 113.1 kB / 0.6034 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001568/0.2236, allocations: 19.94 kB / 0.6034 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2236, allocations: 0 / 0.6034 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.2237, allocations: 15.92 kB / 0.6034 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.2238, allocations: 8 kB / 0.6034 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.2242, allocations: 135.3 kB / 0.6036 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.2244, allocations: 0.6731 MB / 0.6042 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.2244, allocations: 7.438 kB / 0.6042 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2245, allocations: 0 / 0.6042 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of Templates: time 0.002182/0.2266, allocations: 0.6896 MB / 0.6049 GB, free: 372 kB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flowCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flowCalcHelperMain.o] Error 1