Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009363/0.0009364, allocations: 99.27 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.001056/0.001056, allocations: 186.6 kB / 16.92 MB, free: 6.688 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.371/1.371, allocations: 223.2 MB / 240.9 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.001994/0.001993, allocations: 278.3 kB / 292.3 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9662/0.9662, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004369, allocations: 17.78 kB / 0.5993 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.191, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.0007586/0.1918, allocations: 312 kB / 0.6861 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000274/0.1921, allocations: 47.86 kB / 0.6861 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.001e-05/0.1921, allocations: 0 / 0.6861 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.454e-05/0.1921, allocations: 0 / 0.6861 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.185e-06/0.1922, allocations: 0 / 0.6861 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.1924, allocations: 19.86 kB / 0.6861 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.853e-05/0.1924, allocations: 0.625 kB / 0.6861 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.1925, allocations: 0 / 0.6861 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.771e-05/0.1925, allocations: 0.6875 kB / 0.6861 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.933e-05/0.1925, allocations: 11.92 kB / 0.6862 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1926, allocations: 0.6562 kB / 0.6862 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.897e-05/0.1927, allocations: 24.53 kB / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.1927, allocations: 0 / 0.6862 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.1927, allocations: 31.67 kB / 0.6862 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.383e-05/0.1928, allocations: 11.98 kB / 0.6862 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1928, allocations: 0 / 0.6862 GB, free: 14.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1928, allocations: 0 / 0.6862 GB, free: 14.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.1928, allocations: 0 / 0.6862 GB, free: 14.62 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003035/0.1931, allocations: 308.4 kB / 0.6865 GB, free: 14.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1932, allocations: 11.47 kB / 0.6865 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.1934, allocations: 20.89 kB / 0.6865 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.815e-05/0.1935, allocations: 160.5 kB / 0.6867 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1936, allocations: 4.375 kB / 0.6867 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1936, allocations: 4.375 kB / 0.6867 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1937, allocations: 38.25 kB / 0.6867 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1937, allocations: 0.6875 kB / 0.6867 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1938, allocations: 8.406 kB / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1938, allocations: 3.984 kB / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.266e-05/0.1939, allocations: 13.11 kB / 0.6868 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.194, allocations: 151.6 kB / 0.6869 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.076e-05/0.1941, allocations: 22.58 kB / 0.6869 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.1942, allocations: 9.594 kB / 0.6869 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1942, allocations: 4.062 kB / 0.687 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.1942, allocations: 31.75 kB / 0.687 GB, free: 13.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1942, allocations: 0 / 0.687 GB, free: 13.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002217/0.1944, allocations: 53.09 kB / 0.687 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1945, allocations: 55.39 kB / 0.6871 GB, free: 13.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.634e-05/0.1945, allocations: 89.86 kB / 0.6872 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1945, allocations: 25.7 kB / 0.6872 GB, free: 13.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.484e-05/0.1946, allocations: 80.14 kB / 0.6873 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1946, allocations: 4.281 kB / 0.6873 GB, free: 13.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.1946, allocations: 10.38 kB / 0.6873 GB, free: 13.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.1948, allocations: 312.5 kB / 0.6876 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.387e-05/0.1948, allocations: 4 kB / 0.6876 GB, free: 13.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.049e-05/0.1949, allocations: 10.98 kB / 0.6876 GB, free: 13.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.14e-05/0.195, allocations: 20.78 kB / 0.6876 GB, free: 12.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.195, allocations: 0 / 0.6876 GB, free: 12.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001161/0.1951, allocations: 37.69 kB / 0.6877 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1951, allocations: 5.875 kB / 0.6877 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1951, allocations: 0.7812 kB / 0.6877 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1951, allocations: 7.938 kB / 0.6877 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.627e-05/0.1952, allocations: 13.64 kB / 0.6877 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.1952, allocations: 0 / 0.6877 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.391e-05/0.1953, allocations: 7.938 kB / 0.6877 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.1953, allocations: 0 / 0.6877 GB, free: 12.91 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8.072e-05/0.1954, allocations: 108 kB / 0.6878 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-06/0.1954, allocations: 0.625 kB / 0.6878 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.1954, allocations: 11.59 kB / 0.6878 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1954, allocations: 1 kB / 0.6878 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1954, allocations: 3.984 kB / 0.6878 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1954, allocations: 1.062 kB / 0.6878 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.611e-05/0.1955, allocations: 145.7 kB / 0.6879 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1955, allocations: 0 / 0.6879 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.1956, allocations: 8.203 kB / 0.688 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1956, allocations: 7.938 kB / 0.688 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1956, allocations: 7.875 kB / 0.688 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1956, allocations: 0 / 0.688 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1956, allocations: 0 / 0.688 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.1958, allocations: 65.12 kB / 0.688 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.1958, allocations: 77.11 kB / 0.6881 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1958, allocations: 11.95 kB / 0.6881 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.758e-05/0.1959, allocations: 4 kB / 0.6881 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.1959, allocations: 0 / 0.6881 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1959, allocations: 0 / 0.6881 GB, free: 12.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.919e-05/0.1959, allocations: 75.28 kB / 0.6882 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.196, allocations: 0 / 0.6882 GB, free: 12.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001754/0.1961, allocations: 0 / 0.6882 GB, free: 12.3 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001462/0.1963, allocations: 99.25 kB / 0.6883 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.1964, allocations: 23.92 kB / 0.6883 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1964, allocations: 0 / 0.6883 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.1965, allocations: 7.984 kB / 0.6883 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1966, allocations: 0 / 0.6883 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.1969, allocations: 110.5 kB / 0.6884 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1972, allocations: 0.6731 MB / 0.6891 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.1973, allocations: 11.56 kB / 0.6891 GB, free: 11.32 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1973, allocations: 0 / 0.6891 GB, free: 11.32 MB / 494.1 MB Notification: Performance of Templates: time 0.001823/0.1991, allocations: 388 kB / 0.6895 GB, free: 10.94 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.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.RegStepCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.o] Error 1