Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.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.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 99.19 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.001019/0.001019, allocations: 186 kB / 16.92 MB, free: 6.703 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.323/1.323, allocations: 223.2 MB / 240.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001907/0.001907, allocations: 275 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.935/0.935, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004321, allocations: 18.77 kB / 0.5993 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1916, allocations: 88.55 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.002141/0.1938, allocations: 1.321 MB / 0.6871 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.1947, allocations: 0.6117 MB / 0.6877 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.1948, allocations: 0 / 0.6877 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.195, allocations: 21.36 kB / 0.6877 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.1952, allocations: 39.83 kB / 0.6877 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.1956, allocations: 103.8 kB / 0.6878 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1957, allocations: 156.9 kB / 0.688 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1959, allocations: 31.16 kB / 0.688 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.196, allocations: 75.75 kB / 0.6881 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.1962, allocations: 78.31 kB / 0.6881 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.1962, allocations: 8 kB / 0.6882 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.737e-05/0.1963, allocations: 16 kB / 0.6882 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.53e-05/0.1964, allocations: 23.92 kB / 0.6882 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1965, allocations: 93.34 kB / 0.6883 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1967, allocations: 115.7 kB / 0.6884 GB, free: 12.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1967, allocations: 0 / 0.6884 GB, free: 12.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1967, allocations: 0.5 kB / 0.6884 GB, free: 12.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.83e-06/0.1967, allocations: 8.906 kB / 0.6884 GB, free: 12.37 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000689/0.1974, allocations: 0.5268 MB / 0.6889 GB, free: 11.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1974, allocations: 8.031 kB / 0.6889 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.1975, allocations: 20.75 kB / 0.6889 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.1978, allocations: 226.2 kB / 0.6892 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1978, allocations: 15 kB / 0.6892 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.1979, allocations: 12.38 kB / 0.6892 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.1982, allocations: 121.7 kB / 0.6893 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1982, allocations: 0 / 0.6893 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.1982, allocations: 4 kB / 0.6893 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1982, allocations: 1.906 kB / 0.6893 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.1984, allocations: 80.44 kB / 0.6894 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.199, allocations: 423.5 kB / 0.6898 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.1993, allocations: 92.03 kB / 0.6899 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.1994, allocations: 82.22 kB / 0.69 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1995, allocations: 4.797 kB / 0.69 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002686/0.1997, allocations: 186.8 kB / 0.6901 GB, free: 10.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.1997, allocations: 3.938 kB / 0.6901 GB, free: 10.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006994/0.2004, allocations: 360.8 kB / 0.6905 GB, free: 10.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2006, allocations: 166.2 kB / 0.6906 GB, free: 9.828 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2007, allocations: 174.6 kB / 0.6908 GB, free: 9.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.2008, allocations: 29.7 kB / 0.6908 GB, free: 9.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.2008, allocations: 112.3 kB / 0.6909 GB, free: 9.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.2009, allocations: 31.55 kB / 0.691 GB, free: 9.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.2009, allocations: 29.7 kB / 0.691 GB, free: 9.426 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.201, allocations: 331 kB / 0.6913 GB, free: 9.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2012, allocations: 55.95 kB / 0.6914 GB, free: 9.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.2014, allocations: 102.8 kB / 0.6915 GB, free: 8.914 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.2017, allocations: 320.9 kB / 0.6918 GB, free: 8.539 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2017, allocations: 4 kB / 0.6918 GB, free: 8.535 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005024/0.2022, allocations: 352.2 kB / 0.6921 GB, free: 8.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.457e-05/0.2023, allocations: 114.8 kB / 0.6922 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2023, allocations: 8 kB / 0.6922 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2024, allocations: 3.938 kB / 0.6922 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.2025, allocations: 23.98 kB / 0.6923 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.2025, allocations: 4 kB / 0.6923 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.2026, allocations: 20.11 kB / 0.6923 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2026, allocations: 8 kB / 0.6923 GB, free: 7.957 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: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001632/0.2028, allocations: 209 kB / 0.6925 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.2028, allocations: 15.81 kB / 0.6925 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.2029, allocations: 17.39 kB / 0.6925 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2029, allocations: 4 kB / 0.6925 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2029, allocations: 0 / 0.6925 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2029, allocations: 0 / 0.6925 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/0.2036, allocations: 0.5915 MB / 0.6931 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2036, allocations: 0 / 0.6931 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.2037, allocations: 12 kB / 0.6931 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2037, allocations: 0 / 0.6931 GB, free: 7.027 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.2037, allocations: 15.98 kB / 0.6931 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2037, allocations: 0 / 0.6931 GB, free: 7.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.2037, allocations: 7.938 kB / 0.6931 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005267/0.2043, allocations: 410.6 kB / 0.6935 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/0.2043, allocations: 88.92 kB / 0.6936 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.2044, allocations: 11.98 kB / 0.6936 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2045, allocations: 15.94 kB / 0.6936 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.2046, allocations: 11.92 kB / 0.6936 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2046, allocations: 4 kB / 0.6937 GB, free: 6.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.2047, allocations: 137.3 kB / 0.6938 GB, free: 6.293 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2047, allocations: 3.938 kB / 0.6938 GB, free: 6.289 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.205, allocations: 36 kB / 0.6938 GB, free: 6.254 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: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0002327/0.2052, allocations: 130.2 kB / 0.6939 GB, free: 6.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.2057, allocations: 373.5 kB / 0.6943 GB, free: 5.715 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2057, allocations: 0 / 0.6943 GB, free: 5.715 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.206, allocations: 214.7 kB / 0.6945 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2063, allocations: 16 kB / 0.6945 GB, free: 5.465 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.2069, allocations: 352.1 kB / 0.6949 GB, free: 5.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.2072, allocations: 0.716 MB / 0.6956 GB, free: 4.344 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.2072, allocations: 15.42 kB / 0.6956 GB, free: 4.328 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2073, allocations: 0 / 0.6956 GB, free: 4.328 MB / 494.1 MB Notification: Performance of Templates: time 0.00394/0.2112, allocations: 2.151 MB / 0.6977 GB, free: 2.195 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.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.CSVWriterCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1