Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.006442/0.006442, allocations: 100 kB / 15.87 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 188.8 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.3 MB / 0.5491 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 65.62 kB / 0.6715 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3465, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.004471/0.351, allocations: 1.675 MB / 0.785 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3526, allocations: 0.6751 MB / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.3528, allocations: 4 kB / 0.7856 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.3531, allocations: 11.88 kB / 0.7856 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.3535, allocations: 35.83 kB / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005362/0.354, allocations: 103.9 kB / 0.7858 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.3543, allocations: 163.6 kB / 0.7859 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.3545, allocations: 29.09 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.3547, allocations: 75.75 kB / 0.786 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.3549, allocations: 83.66 kB / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.781e-05/0.355, allocations: 12 kB / 0.7861 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3551, allocations: 24 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3552, allocations: 23.92 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.3553, allocations: 67.64 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.3556, allocations: 116 kB / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.3556, allocations: 0 / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3556, allocations: 0 / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.3557, allocations: 0 / 0.7863 GB, free: 10.89 MB / 0.6075 GB 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.001031/0.3567, allocations: 0.5486 MB / 0.7869 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.3568, allocations: 12.03 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.3569, allocations: 24.69 kB / 0.7869 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.3574, allocations: 240 kB / 0.7871 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.3574, allocations: 8.375 kB / 0.7871 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.3574, allocations: 20.36 kB / 0.7872 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.3578, allocations: 105.8 kB / 0.7873 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3578, allocations: 0 / 0.7873 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.3579, allocations: 4 kB / 0.7873 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3579, allocations: 7.922 kB / 0.7873 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.3581, allocations: 71.95 kB / 0.7873 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.3591, allocations: 408.7 kB / 0.7877 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.3593, allocations: 94.47 kB / 0.7878 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3595, allocations: 76.81 kB / 0.7879 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.3596, allocations: 3.984 kB / 0.7879 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.36, allocations: 174.7 kB / 0.7881 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/0.36, allocations: 0 / 0.7881 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0008534/0.3608, allocations: 356.8 kB / 0.7884 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.361, allocations: 166.2 kB / 0.7886 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3612, allocations: 170.6 kB / 0.7887 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.3613, allocations: 33.7 kB / 0.7888 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.3614, allocations: 112.3 kB / 0.7889 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.3614, allocations: 27.64 kB / 0.7889 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.614e-05/0.3615, allocations: 45.7 kB / 0.7889 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3617, allocations: 334.8 kB / 0.7893 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3618, allocations: 47.91 kB / 0.7893 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.362, allocations: 101.6 kB / 0.7894 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.3624, allocations: 317.2 kB / 0.7897 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3625, allocations: 4 kB / 0.7897 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005931/0.3631, allocations: 340.1 kB / 0.79 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.3632, allocations: 122.7 kB / 0.7901 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.3632, allocations: 4 kB / 0.7902 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3632, allocations: 0 / 0.7902 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3634, allocations: 28.17 kB / 0.7902 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3634, allocations: 3.938 kB / 0.7902 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.3635, allocations: 19.98 kB / 0.7902 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.3635, allocations: 8 kB / 0.7902 GB, free: 6.488 MB / 0.6075 GB 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.0002134/0.3638, allocations: 193.6 kB / 0.7904 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.3638, allocations: 19.81 kB / 0.7904 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.3639, allocations: 21.39 kB / 0.7904 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3639, allocations: 3.984 kB / 0.7904 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.3639, allocations: 0 / 0.7904 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3639, allocations: 4 kB / 0.7904 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.3648, allocations: 0.5914 MB / 0.791 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3648, allocations: 0 / 0.791 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.3649, allocations: 11.98 kB / 0.791 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3649, allocations: 0 / 0.791 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.365, allocations: 7.984 kB / 0.791 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.365, allocations: 0 / 0.791 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.365, allocations: 11.94 kB / 0.7911 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.3656, allocations: 398.6 kB / 0.7914 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.3657, allocations: 88.92 kB / 0.7915 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.3657, allocations: 8 kB / 0.7915 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.3658, allocations: 7.984 kB / 0.7915 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.3659, allocations: 7.938 kB / 0.7915 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.3659, allocations: 19.98 kB / 0.7916 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001336/0.3661, allocations: 125.1 kB / 0.7917 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3661, allocations: 0 / 0.7917 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003023/0.3664, allocations: 36 kB / 0.7917 GB, free: 4.812 MB / 0.6075 GB 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.0003301/0.3667, allocations: 125.7 kB / 0.7918 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006301/0.3674, allocations: 361.4 kB / 0.7922 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3674, allocations: 0 / 0.7922 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.3677, allocations: 206.7 kB / 0.7924 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3681, allocations: 29.16 kB / 0.7924 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.3689, allocations: 351.9 kB / 0.7927 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.3693, allocations: 0.7121 MB / 0.7934 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.3694, allocations: 11.44 kB / 0.7934 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of SimCode: time 6.62e-07/0.3694, allocations: 0 / 0.7934 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of Templates: time 0.005045/0.3744, allocations: 2.164 MB / 0.7956 GB, free: 0.7539 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1