Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008326/0.0008326, allocations: 102.1 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.0009743/0.0009745, allocations: 174.8 kB / 16.58 MB, free: 6.402 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.448/1.448, 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.04/1.04, allocations: 143.4 MB / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 16 kB / 0.5166 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2078, allocations: 83.41 MB / 0.5981 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.001781/0.2096, allocations: 1.237 MB / 0.5993 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003253/0.21, allocations: 112.5 kB / 0.5994 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.21, allocations: 0 / 0.5994 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.2101, allocations: 3.938 kB / 0.5994 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.533e-05/0.2102, allocations: 7.922 kB / 0.5994 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.2104, allocations: 27.97 kB / 0.5994 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.2106, allocations: 51.78 kB / 0.5995 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.2107, allocations: 19.98 kB / 0.5995 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.2108, allocations: 23.92 kB / 0.5995 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.22e-05/0.2109, allocations: 23.84 kB / 0.5995 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2109, allocations: 4 kB / 0.5995 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.211, allocations: 4 kB / 0.5995 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.2111, allocations: 15.97 kB / 0.5996 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.2111, allocations: 33.64 kB / 0.5996 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.2113, allocations: 35.88 kB / 0.5996 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.2113, allocations: 4 kB / 0.5996 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2113, allocations: 0 / 0.5996 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.2113, allocations: 0 / 0.5996 GB, free: 6.164 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006769/0.212, allocations: 387.4 kB / 0.6 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.212, allocations: 8.031 kB / 0.6 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.2121, allocations: 11.95 kB / 0.6 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.2123, allocations: 182.9 kB / 0.6002 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2124, allocations: 4 kB / 0.6002 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2124, allocations: 4 kB / 0.6002 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.2127, allocations: 97.58 kB / 0.6003 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2128, allocations: 4 kB / 0.6003 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2128, allocations: 0 / 0.6003 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.2128, allocations: 4 kB / 0.6003 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.2131, allocations: 103.9 kB / 0.6004 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.2137, allocations: 340.6 kB / 0.6007 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.2139, allocations: 70.52 kB / 0.6008 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2141, allocations: 52.92 kB / 0.6008 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.2142, allocations: 7.922 kB / 0.6008 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.2142, allocations: 42.52 kB / 0.6009 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2142, allocations: 4 kB / 0.6009 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005715/0.2148, allocations: 169.6 kB / 0.601 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.2149, allocations: 51.41 kB / 0.6011 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.215, allocations: 113.8 kB / 0.6012 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.215, allocations: 25.7 kB / 0.6012 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.2151, allocations: 99.97 kB / 0.6013 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.2151, allocations: 11.91 kB / 0.6013 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.2151, allocations: 4 kB / 0.6013 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2153, allocations: 314.8 kB / 0.6016 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2155, allocations: 43.95 kB / 0.6017 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.2156, allocations: 47.95 kB / 0.6017 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.2157, allocations: 43.97 kB / 0.6018 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2157, allocations: 0 / 0.6018 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000315/0.2161, allocations: 137.5 kB / 0.6019 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2161, allocations: 4 kB / 0.6019 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2161, allocations: 3.953 kB / 0.6019 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2161, allocations: 4 kB / 0.6019 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2162, allocations: 15.98 kB / 0.6019 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2163, allocations: 0 / 0.6019 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.2163, allocations: 23.97 kB / 0.602 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.2164, allocations: 4 kB / 0.602 GB, free: 3.555 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 (3): * Single equations (assignments): 3 * 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 8.692e-05/0.2165, allocations: 113.8 kB / 0.6021 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.2165, allocations: 3.906 kB / 0.6021 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.2169, allocations: 141.4 kB / 0.6022 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2169, allocations: 3.953 kB / 0.6022 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2169, allocations: 0 / 0.6022 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2169, allocations: 4 kB / 0.6022 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.2171, allocations: 177.6 kB / 0.6024 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2171, allocations: 0 / 0.6024 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.886e-05/0.2172, allocations: 19.98 kB / 0.6024 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2172, allocations: 3.938 kB / 0.6024 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2172, allocations: 4 kB / 0.6024 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2172, allocations: 0 / 0.6024 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2172, allocations: 3.953 kB / 0.6024 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.2176, allocations: 223.8 kB / 0.6026 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.2176, allocations: 81.02 kB / 0.6027 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.2177, allocations: 3.938 kB / 0.6027 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.2178, allocations: 19.97 kB / 0.6027 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.2178, allocations: 8 kB / 0.6027 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2178, allocations: 3.984 kB / 0.6027 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.2179, allocations: 95.27 kB / 0.6028 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2179, allocations: 0 / 0.6028 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002238/0.2181, allocations: 15.94 kB / 0.6028 GB, free: 2.539 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 (3): * Single equations (assignments): 3 * 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.0001611/0.2183, allocations: 99.25 kB / 0.6029 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000319/0.2186, allocations: 95.91 kB / 0.603 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2186, allocations: 4 kB / 0.603 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.2188, allocations: 55.89 kB / 0.6031 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.2191, allocations: 9.969 kB / 0.6031 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.2195, allocations: 186.6 kB / 0.6033 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.2197, allocations: 0.6965 MB / 0.604 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.2198, allocations: 11.44 kB / 0.604 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2198, allocations: 3.938 kB / 0.604 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.002761/0.2225, allocations: 0.9236 MB / 0.6049 GB, free: 412 kB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.AverageCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.AverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.AverageCalcHelperMain.o] Error 1