Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008731/0.0008733, allocations: 98.88 kB / 16.02 MB, free: 76 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.00106/0.001061, allocations: 187.8 kB / 16.93 MB, free: 6.773 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001836/0.001836, allocations: 270.9 kB / 292.3 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.96/0.96, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004527, allocations: 14.22 kB / 0.5993 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.203, allocations: 88.54 MB / 0.6858 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007576/0.2038, allocations: 314.6 kB / 0.6861 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.2041, allocations: 35.89 kB / 0.6861 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.2041, allocations: 0 / 0.6861 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.2041, allocations: 1.344 kB / 0.6861 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.933e-05/0.2042, allocations: 3.984 kB / 0.6861 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.2044, allocations: 13.17 kB / 0.6861 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.868e-05/0.2044, allocations: 7.938 kB / 0.6861 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.2045, allocations: 0 / 0.6861 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.487e-05/0.2045, allocations: 4 kB / 0.6861 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.196e-05/0.2045, allocations: 2.094 kB / 0.6861 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.2046, allocations: 0 / 0.6861 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.2047, allocations: 23.92 kB / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.2047, allocations: 4 kB / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.2047, allocations: 29.64 kB / 0.6862 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.771e-05/0.2048, allocations: 28.67 kB / 0.6862 GB, free: 14.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2048, allocations: 0 / 0.6862 GB, free: 14.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2049, allocations: 2.375 kB / 0.6862 GB, free: 14.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.2049, allocations: 0 / 0.6862 GB, free: 14.59 MB / 494.1 MB 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.000345/0.2052, allocations: 341.6 kB / 0.6866 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2053, allocations: 8.031 kB / 0.6866 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.2053, allocations: 4.938 kB / 0.6866 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2054, allocations: 174.2 kB / 0.6867 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2055, allocations: 4.375 kB / 0.6867 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.2055, allocations: 384 / 0.6867 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.2056, allocations: 62.19 kB / 0.6868 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.2056, allocations: 192 / 0.6868 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2056, allocations: 4.531 kB / 0.6868 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/0.2057, allocations: 13.56 kB / 0.6868 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.2057, allocations: 19.98 kB / 0.6868 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.2061, allocations: 264.8 kB / 0.6871 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.2062, allocations: 23.61 kB / 0.6871 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.206e-05/0.2062, allocations: 9.547 kB / 0.6871 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-06/0.2062, allocations: 0 / 0.6871 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.2062, allocations: 41.77 kB / 0.6872 GB, free: 13.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2062, allocations: 4 kB / 0.6872 GB, free: 13.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001783/0.2064, allocations: 59.41 kB / 0.6872 GB, free: 13.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.2065, allocations: 77.11 kB / 0.6873 GB, free: 13.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.2066, allocations: 125.8 kB / 0.6874 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.2066, allocations: 31.02 kB / 0.6874 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.2067, allocations: 95.8 kB / 0.6875 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.015e-05/0.2067, allocations: 8 kB / 0.6875 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.2068, allocations: 10.38 kB / 0.6876 GB, free: 13.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2069, allocations: 324.4 kB / 0.6879 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.2069, allocations: 8 kB / 0.6879 GB, free: 12.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.207, allocations: 63.67 kB / 0.6879 GB, free: 12.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.2071, allocations: 129.3 kB / 0.6881 GB, free: 12.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2071, allocations: 4 kB / 0.6881 GB, free: 12.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001584/0.2073, allocations: 119.1 kB / 0.6882 GB, free: 12.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.2073, allocations: 35.72 kB / 0.6882 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2074, allocations: 8.25 kB / 0.6882 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2074, allocations: 0 / 0.6882 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.2075, allocations: 15.94 kB / 0.6882 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.2075, allocations: 4 kB / 0.6882 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.2075, allocations: 7.938 kB / 0.6882 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.2076, allocations: 8 kB / 0.6882 GB, free: 12.23 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.2077, allocations: 148.8 kB / 0.6884 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.2077, allocations: 3.906 kB / 0.6884 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.414e-05/0.2077, allocations: 3.531 kB / 0.6884 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2077, allocations: 11.98 kB / 0.6884 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2078, allocations: 0 / 0.6884 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2078, allocations: 3.938 kB / 0.6884 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.2079, allocations: 157.6 kB / 0.6886 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2079, allocations: 0 / 0.6886 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-07/0.2079, allocations: 3.938 kB / 0.6886 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.2079, allocations: 0 / 0.6886 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.208, allocations: 0 / 0.6886 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.208, allocations: 11.92 kB / 0.6886 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.208, allocations: 0 / 0.6886 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.2081, allocations: 165.2 kB / 0.6887 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.2082, allocations: 81.09 kB / 0.6888 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.2082, allocations: 0 / 0.6888 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.2082, allocations: 4 kB / 0.6888 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.2083, allocations: 4 kB / 0.6888 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.2083, allocations: 0 / 0.6888 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.469e-05/0.2083, allocations: 91.27 kB / 0.6889 GB, free: 11.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2083, allocations: 0 / 0.6889 GB, free: 11.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000263/0.2086, allocations: 19.97 kB / 0.6889 GB, free: 11.43 MB / 494.1 MB 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 (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.0001798/0.2088, allocations: 103.2 kB / 0.689 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.209, allocations: 91.27 kB / 0.6891 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.209, allocations: 0 / 0.6891 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.383e-05/0.209, allocations: 55.41 kB / 0.6892 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.2092, allocations: 5.297 kB / 0.6892 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.2095, allocations: 142.7 kB / 0.6893 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.2098, allocations: 0.6808 MB / 0.69 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.2098, allocations: 11.44 kB / 0.69 GB, free: 10.26 MB / 494.1 MB Notification: Performance of SimCode: time 5.1e-07/0.2098, allocations: 3.938 kB / 0.69 GB, free: 10.26 MB / 494.1 MB Notification: Performance of Templates: time 0.002337/0.2122, allocations: 0.6633 MB / 0.6906 GB, free: 9.598 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.o] Error 1