Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.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.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009035/0.0009035, allocations: 91.38 kB / 16.02 MB, free: 80 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.001094/0.001094, allocations: 183.8 kB / 16.92 MB, free: 6.926 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.35/1.35, allocations: 223.2 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00221/0.00221, allocations: 275 kB / 292.3 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9311/0.9311, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004721, allocations: 10.09 kB / 0.5993 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1827, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00196/0.1847, allocations: 1.192 MB / 0.6869 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1863, allocations: 1.081 MB / 0.688 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.1863, allocations: 0 / 0.688 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.1865, allocations: 15.92 kB / 0.688 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1867, allocations: 31.84 kB / 0.688 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1869, allocations: 51.94 kB / 0.6881 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1871, allocations: 143.6 kB / 0.6882 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1873, allocations: 69.11 kB / 0.6883 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.485e-05/0.1874, allocations: 64.33 kB / 0.6884 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.1876, allocations: 47.72 kB / 0.6884 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.1876, allocations: 4.625 kB / 0.6884 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.71e-05/0.1877, allocations: 24.55 kB / 0.6884 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.1878, allocations: 31.89 kB / 0.6885 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.457e-05/0.1879, allocations: 98.14 kB / 0.6886 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1881, allocations: 143.6 kB / 0.6887 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1881, allocations: 1.656 kB / 0.6887 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1881, allocations: 0 / 0.6887 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1881, allocations: 0 / 0.6887 GB, free: 12.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006669/0.1888, allocations: 461.2 kB / 0.6891 GB, free: 11.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.1888, allocations: 8.031 kB / 0.6891 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.1889, allocations: 16.75 kB / 0.6892 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.1893, allocations: 252.6 kB / 0.6894 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.1894, allocations: 124.5 kB / 0.6895 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1895, allocations: 4.938 kB / 0.6895 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.1899, allocations: 177.3 kB / 0.6897 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1899, allocations: 0.6562 kB / 0.6897 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.1899, allocations: 8 kB / 0.6897 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.19, allocations: 5.875 kB / 0.6897 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/0.19, allocations: 39.97 kB / 0.6897 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.1912, allocations: 486.3 kB / 0.6902 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.982e-05/0.1912, allocations: 31.5 kB / 0.6902 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.1913, allocations: 28.84 kB / 0.6903 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.1913, allocations: 8 kB / 0.6903 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.1914, allocations: 30.56 kB / 0.6903 GB, free: 10.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1914, allocations: 0 / 0.6903 GB, free: 10.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002815/0.1917, allocations: 113.5 kB / 0.6904 GB, free: 10.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.1917, allocations: 55.41 kB / 0.6905 GB, free: 10.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1919, allocations: 220.3 kB / 0.6907 GB, free: 9.848 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.192, allocations: 25.7 kB / 0.6907 GB, free: 9.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.1921, allocations: 132.1 kB / 0.6908 GB, free: 9.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.1921, allocations: 23.62 kB / 0.6908 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1921, allocations: 21.7 kB / 0.6909 GB, free: 9.633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1923, allocations: 322.8 kB / 0.6912 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.052e-05/0.1923, allocations: 27.98 kB / 0.6912 GB, free: 9.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-05/0.1924, allocations: 102.2 kB / 0.6913 GB, free: 9.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1926, allocations: 134.2 kB / 0.6914 GB, free: 8.977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1926, allocations: 4 kB / 0.6914 GB, free: 8.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002266/0.1929, allocations: 153.2 kB / 0.6916 GB, free: 8.816 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1929, allocations: 8 kB / 0.6916 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1929, allocations: 0 / 0.6916 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1929, allocations: 4 kB / 0.6916 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.193, allocations: 27.92 kB / 0.6916 GB, free: 8.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.193, allocations: 7.938 kB / 0.6916 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.98e-05/0.1931, allocations: 20.22 kB / 0.6916 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.1931, allocations: 4 kB / 0.6916 GB, free: 8.746 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001229/0.1932, allocations: 146.4 kB / 0.6918 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.1933, allocations: 15.75 kB / 0.6918 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.1935, allocations: 123.1 kB / 0.6919 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1935, allocations: 0 / 0.6919 GB, free: 8.453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1936, allocations: 3.938 kB / 0.6919 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1936, allocations: 0 / 0.6919 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.1938, allocations: 233.6 kB / 0.6921 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1938, allocations: 0 / 0.6921 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.1939, allocations: 19.92 kB / 0.6922 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1939, allocations: 0 / 0.6922 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1939, allocations: 4 kB / 0.6922 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1939, allocations: 0 / 0.6922 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1939, allocations: 3.938 kB / 0.6922 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1941, allocations: 183.3 kB / 0.6923 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.1942, allocations: 96.91 kB / 0.6924 GB, free: 7.836 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1942, allocations: 15.98 kB / 0.6925 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.1945, allocations: 19.98 kB / 0.6925 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.1945, allocations: 11.92 kB / 0.6925 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.1945, allocations: 11.98 kB / 0.6925 GB, free: 7.777 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1947, allocations: 161.5 kB / 0.6926 GB, free: 7.621 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1947, allocations: 4 kB / 0.6927 GB, free: 7.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.195, allocations: 31.94 kB / 0.6927 GB, free: 7.586 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 (8): * Single equations (assignments): 8 * 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.000243/0.1952, allocations: 132.4 kB / 0.6928 GB, free: 7.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.1954, allocations: 71.84 kB / 0.6929 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1954, allocations: 0 / 0.6929 GB, free: 7.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.1954, allocations: 31.95 kB / 0.6929 GB, free: 7.352 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.1957, allocations: 20 kB / 0.6929 GB, free: 7.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.1962, allocations: 372.5 kB / 0.6933 GB, free: 6.934 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.1967, allocations: 0.7355 MB / 0.694 GB, free: 6.172 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.1967, allocations: 15.44 kB / 0.694 GB, free: 6.156 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1967, allocations: 0 / 0.694 GB, free: 6.156 MB / 494.1 MB Notification: Performance of Templates: time 0.004396/0.2011, allocations: 2.6 MB / 0.6966 GB, free: 3.586 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklyScheduleCalcHelperMain.o] Error 1