Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009226/0.0009226, 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.001416/0.001417, allocations: 176.1 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.49/1.49, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.114/1.114, allocations: 143.4 MB / 435.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.0003639, allocations: 8 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2066, allocations: 83.42 MB / 0.5981 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007758/0.2074, allocations: 315 kB / 0.5984 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002078/0.2076, allocations: 31.92 kB / 0.5984 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.2077, allocations: 0 / 0.5984 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.2077, allocations: 0 / 0.5984 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.119e-05/0.2077, allocations: 4 kB / 0.5984 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.2079, allocations: 7.984 kB / 0.5984 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.906e-05/0.208, allocations: 7.984 kB / 0.5984 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.758e-05/0.208, allocations: 0 / 0.5984 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.641e-05/0.2081, allocations: 15.88 kB / 0.5984 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.226e-05/0.2081, allocations: 0 / 0.5984 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.2081, allocations: 0 / 0.5984 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.9e-05/0.2082, allocations: 19.98 kB / 0.5985 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.2083, allocations: 4 kB / 0.5985 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.2083, allocations: 25.7 kB / 0.5985 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.261e-05/0.2084, allocations: 15.98 kB / 0.5985 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2084, allocations: 0 / 0.5985 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2084, allocations: 0 / 0.5985 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2084, allocations: 0 / 0.5985 GB, free: 7.355 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003431/0.2087, allocations: 349.1 kB / 0.5988 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.2088, allocations: 8.031 kB / 0.5988 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.2088, allocations: 3.906 kB / 0.5988 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2089, allocations: 183.2 kB / 0.599 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.209, allocations: 0 / 0.599 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.209, allocations: 0 / 0.599 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2091, allocations: 57.67 kB / 0.5991 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.2091, allocations: 0 / 0.5991 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.2091, allocations: 0 / 0.5991 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.2092, allocations: 8 kB / 0.5991 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.004e-05/0.2092, allocations: 27.98 kB / 0.5991 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.2096, allocations: 264.8 kB / 0.5994 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.758e-05/0.2096, allocations: 22.58 kB / 0.5994 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.2097, allocations: 4.859 kB / 0.5994 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.2097, allocations: 0 / 0.5994 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2097, allocations: 42.56 kB / 0.5994 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.2097, allocations: 0 / 0.5994 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001727/0.2099, allocations: 75.19 kB / 0.5995 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.21, allocations: 81.11 kB / 0.5996 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.691e-05/0.2101, allocations: 113.8 kB / 0.5997 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2101, allocations: 29.7 kB / 0.5997 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.2101, allocations: 103.8 kB / 0.5998 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.237e-06/0.2102, allocations: 7.906 kB / 0.5998 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.2102, allocations: 0 / 0.5998 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2103, allocations: 318.9 kB / 0.6001 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.2103, allocations: 15.98 kB / 0.6001 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.862e-05/0.2104, allocations: 59.23 kB / 0.6002 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.151e-05/0.2104, allocations: 53.62 kB / 0.6003 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2104, allocations: 4 kB / 0.6003 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001335/0.2106, allocations: 111.2 kB / 0.6004 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.2106, allocations: 33.89 kB / 0.6004 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2106, allocations: 8.156 kB / 0.6004 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2107, allocations: 3.953 kB / 0.6004 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.042e-05/0.2107, allocations: 12 kB / 0.6004 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2107, allocations: 11.97 kB / 0.6004 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.2108, allocations: 8 kB / 0.6004 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.2108, allocations: 4 kB / 0.6004 GB, free: 5.094 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 9.258e-05/0.2109, allocations: 143.4 kB / 0.6006 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.211, allocations: 7.906 kB / 0.6006 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.211, allocations: 11.52 kB / 0.6006 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.211, allocations: 4 kB / 0.6006 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.211, allocations: 3.953 kB / 0.6006 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.211, allocations: 4 kB / 0.6006 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.2112, allocations: 153.7 kB / 0.6008 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2112, allocations: 0 / 0.6008 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-07/0.2112, allocations: 0 / 0.6008 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2112, allocations: 0 / 0.6008 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.2112, allocations: 0 / 0.6008 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2112, allocations: 0 / 0.6008 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2112, allocations: 0 / 0.6008 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.2113, allocations: 169.2 kB / 0.6009 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.2114, allocations: 81.11 kB / 0.601 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2114, allocations: 0 / 0.601 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.2115, allocations: 0 / 0.601 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.2115, allocations: 11.94 kB / 0.601 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.2115, allocations: 0 / 0.601 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.2116, allocations: 91.22 kB / 0.6011 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2116, allocations: 7.969 kB / 0.6011 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002371/0.2118, allocations: 12 kB / 0.6011 GB, free: 4.297 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001833/0.212, allocations: 111.2 kB / 0.6012 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.2121, allocations: 83.33 kB / 0.6013 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2121, allocations: 0 / 0.6013 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.2122, allocations: 55.41 kB / 0.6013 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.2124, allocations: 6.969 kB / 0.6014 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.2126, allocations: 136.4 kB / 0.6015 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.2129, allocations: 0.6822 MB / 0.6022 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.263e-05/0.2129, allocations: 7.438 kB / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of SimCode: time 3.105e-06/0.2129, allocations: 0 / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of Templates: time 0.002122/0.215, allocations: 0.6782 MB / 0.6028 GB, free: 2.461 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.o] Error 1