Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009657/0.0009656, allocations: 97.78 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.001868/0.001868, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001681/0.001681, allocations: 275.1 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9468/0.9468, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004238, allocations: 12.31 kB / 0.5993 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1871, allocations: 88.54 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.001966/0.1891, allocations: 1.208 MB / 0.6869 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003977/0.1895, allocations: 105.3 kB / 0.687 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.1896, allocations: 4 kB / 0.6871 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.876e-05/0.1896, allocations: 0.5625 kB / 0.6871 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/0.1897, allocations: 5.281 kB / 0.6871 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1899, allocations: 19.97 kB / 0.6871 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.261e-05/0.19, allocations: 53.16 kB / 0.6871 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1901, allocations: 8 kB / 0.6871 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.038e-05/0.1902, allocations: 7.984 kB / 0.6871 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.1903, allocations: 25.36 kB / 0.6872 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1903, allocations: 0 / 0.6872 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.1904, allocations: 23.97 kB / 0.6872 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.1905, allocations: 7.938 kB / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.1905, allocations: 48.5 kB / 0.6872 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.1906, allocations: 48.14 kB / 0.6873 GB, free: 13.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1906, allocations: 0 / 0.6873 GB, free: 13.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.1907, allocations: 0 / 0.6873 GB, free: 13.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1907, allocations: 3.938 kB / 0.6873 GB, free: 13.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005711/0.1912, allocations: 372.8 kB / 0.6876 GB, free: 13.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.1913, allocations: 17.36 kB / 0.6877 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.1913, allocations: 0.9375 kB / 0.6877 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1915, allocations: 176.2 kB / 0.6878 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1915, allocations: 9.188 kB / 0.6878 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.1915, allocations: 384 / 0.6878 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.1918, allocations: 88.8 kB / 0.6879 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1919, allocations: 192 / 0.6879 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1919, allocations: 5.125 kB / 0.6879 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1919, allocations: 0 / 0.6879 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.1922, allocations: 97.39 kB / 0.688 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.1927, allocations: 288.8 kB / 0.6883 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.1929, allocations: 77.27 kB / 0.6884 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.1931, allocations: 55.03 kB / 0.6884 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.1933, allocations: 106.4 kB / 0.6885 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1934, allocations: 43.31 kB / 0.6886 GB, free: 12.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/0.1934, allocations: 4 kB / 0.6886 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006137/0.194, allocations: 177.4 kB / 0.6887 GB, free: 11.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1941, allocations: 51.41 kB / 0.6888 GB, free: 11.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1942, allocations: 125.8 kB / 0.6889 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1942, allocations: 29.7 kB / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.1943, allocations: 96.12 kB / 0.689 GB, free: 11.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.1943, allocations: 7.891 kB / 0.689 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.1943, allocations: 17.72 kB / 0.6891 GB, free: 11.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1944, allocations: 310.8 kB / 0.6894 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.1946, allocations: 47.95 kB / 0.6894 GB, free: 11.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.1948, allocations: 60.12 kB / 0.6895 GB, free: 11.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.1951, allocations: 96.78 kB / 0.6895 GB, free: 10.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1951, allocations: 3.938 kB / 0.6896 GB, free: 10.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003762/0.1955, allocations: 133.5 kB / 0.6897 GB, free: 10.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1955, allocations: 4 kB / 0.6897 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1955, allocations: 7.984 kB / 0.6897 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1955, allocations: 4 kB / 0.6897 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1957, allocations: 19.98 kB / 0.6897 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1957, allocations: 3.938 kB / 0.6897 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.1958, allocations: 19.98 kB / 0.6897 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1958, allocations: 3.938 kB / 0.6897 GB, free: 10.78 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 (3): * Single equations (assignments): 3 * 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 9.207e-05/0.1959, allocations: 123.1 kB / 0.6899 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.196, allocations: 7.906 kB / 0.6899 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.1964, allocations: 145.4 kB / 0.69 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1964, allocations: 4 kB / 0.69 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1964, allocations: 0 / 0.69 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1964, allocations: 0 / 0.69 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.1966, allocations: 177.6 kB / 0.6902 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1966, allocations: 0 / 0.6902 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1968, allocations: 27.97 kB / 0.6902 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1968, allocations: 0 / 0.6902 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1968, allocations: 4 kB / 0.6902 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1968, allocations: 0 / 0.6902 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1968, allocations: 0 / 0.6902 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.1972, allocations: 227.4 kB / 0.6904 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.1973, allocations: 84.95 kB / 0.6905 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.1973, allocations: 4 kB / 0.6905 GB, free: 9.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1974, allocations: 27.92 kB / 0.6905 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.1975, allocations: 3.984 kB / 0.6905 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.1975, allocations: 0 / 0.6905 GB, free: 9.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.558e-05/0.1975, allocations: 102.5 kB / 0.6906 GB, free: 9.758 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1976, allocations: 0 / 0.6906 GB, free: 9.758 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.1978, allocations: 16 kB / 0.6907 GB, free: 9.742 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 (3): * Single equations (assignments): 3 * 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.0001604/0.198, allocations: 103.2 kB / 0.6907 GB, free: 9.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003716/0.1983, allocations: 99.91 kB / 0.6908 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1983, allocations: 0 / 0.6908 GB, free: 9.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.1985, allocations: 47.97 kB / 0.6909 GB, free: 9.488 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.1988, allocations: 17.75 kB / 0.6909 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.1993, allocations: 202.2 kB / 0.6911 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.1997, allocations: 0.6853 MB / 0.6918 GB, free: 8.535 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.1997, allocations: 11.44 kB / 0.6918 GB, free: 8.523 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1997, allocations: 0 / 0.6918 GB, free: 8.523 MB / 494.1 MB Notification: Performance of Templates: time 0.00328/0.203, allocations: 0.8891 MB / 0.6926 GB, free: 7.641 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.Examples.QuadraticLinearCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinearCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinearCalcHelperMain.o] Error 1