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.001127/0.001126, allocations: 99.83 kB / 15.71 MB, free: 452 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.0009829/0.0009831, allocations: 177.6 kB / 16.58 MB, free: 6.422 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.908/1.908, allocations: 205.4 MB / 222.8 MB, free: 5.629 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.843/1.843, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005482/0.0005482, allocations: 16.03 kB / 0.6744 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3022, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001961/0.3042, allocations: 1.305 MB / 0.7892 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.3052, allocations: 0.6208 MB / 0.7898 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.3053, allocations: 0 / 0.7898 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.3054, allocations: 15.88 kB / 0.7898 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.3057, allocations: 43.81 kB / 0.7899 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.3061, allocations: 91.83 kB / 0.7899 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.3063, allocations: 147.7 kB / 0.7901 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3064, allocations: 21.06 kB / 0.7901 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.3065, allocations: 75.75 kB / 0.7902 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.3067, allocations: 75.72 kB / 0.7903 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.3067, allocations: 4 kB / 0.7903 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.2e-05/0.3068, allocations: 20 kB / 0.7903 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.711e-05/0.3069, allocations: 23.91 kB / 0.7903 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.3069, allocations: 53.64 kB / 0.7904 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3071, allocations: 116 kB / 0.7905 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3071, allocations: 0 / 0.7905 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3072, allocations: 7.938 kB / 0.7905 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3072, allocations: 0 / 0.7905 GB, free: 9.312 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.0007566/0.3079, allocations: 0.5172 MB / 0.791 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.308, allocations: 12.03 kB / 0.791 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.308, allocations: 19.81 kB / 0.791 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.3084, allocations: 234.7 kB / 0.7912 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.3084, allocations: 8 kB / 0.7912 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.3084, allocations: 23.97 kB / 0.7913 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.3087, allocations: 105.6 kB / 0.7914 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3087, allocations: 0 / 0.7914 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.3088, allocations: 8 kB / 0.7914 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.3088, allocations: 7.984 kB / 0.7914 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.309, allocations: 71.89 kB / 0.7914 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.3096, allocations: 424.6 kB / 0.7918 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.3098, allocations: 94.55 kB / 0.7919 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.31, allocations: 80.81 kB / 0.792 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.31, allocations: 7.984 kB / 0.792 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.3103, allocations: 178.7 kB / 0.7922 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.3103, allocations: 0 / 0.7922 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.000704/0.311, allocations: 364.9 kB / 0.7925 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.723e-05/0.3111, allocations: 170.2 kB / 0.7927 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3113, allocations: 179.2 kB / 0.7929 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.3113, allocations: 29.7 kB / 0.7929 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.3114, allocations: 112.3 kB / 0.793 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.3114, allocations: 27.64 kB / 0.793 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.263e-05/0.3115, allocations: 8.281 kB / 0.793 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3116, allocations: 322.8 kB / 0.7934 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3117, allocations: 51.97 kB / 0.7934 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.3119, allocations: 118.7 kB / 0.7935 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.3121, allocations: 178.8 kB / 0.7937 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3121, allocations: 3.938 kB / 0.7937 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004924/0.3126, allocations: 352 kB / 0.794 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-05/0.3127, allocations: 119 kB / 0.7941 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.3127, allocations: 8 kB / 0.7941 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3127, allocations: 4 kB / 0.7941 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3128, allocations: 15.98 kB / 0.7942 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.3129, allocations: 7.953 kB / 0.7942 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-05/0.313, allocations: 12 kB / 0.7942 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.313, allocations: 8 kB / 0.7942 GB, free: 5.102 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 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.3132, allocations: 201.2 kB / 0.7944 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.3132, allocations: 19.81 kB / 0.7944 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.3133, allocations: 13.41 kB / 0.7944 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3133, allocations: 0 / 0.7944 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3133, allocations: 0 / 0.7944 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.3133, allocations: 3.953 kB / 0.7944 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007355/0.314, allocations: 0.5915 MB / 0.795 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.314, allocations: 8 kB / 0.795 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.3141, allocations: 11.98 kB / 0.795 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3141, allocations: 0 / 0.795 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3141, allocations: 12 kB / 0.795 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3142, allocations: 0 / 0.795 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3142, allocations: 3.953 kB / 0.795 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005414/0.3147, allocations: 414.6 kB / 0.7954 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.3148, allocations: 96.89 kB / 0.7955 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.3148, allocations: 4 kB / 0.7955 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3149, allocations: 12 kB / 0.7955 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.315, allocations: 11.94 kB / 0.7955 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.315, allocations: 11.98 kB / 0.7956 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.848e-05/0.3151, allocations: 137 kB / 0.7957 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3151, allocations: 0 / 0.7957 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002942/0.3154, allocations: 32 kB / 0.7957 GB, free: 3.398 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003003/0.3157, allocations: 141.7 kB / 0.7959 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000468/0.3162, allocations: 361.5 kB / 0.7962 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3162, allocations: 0 / 0.7962 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.3165, allocations: 215.2 kB / 0.7964 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.3168, allocations: 18.84 kB / 0.7964 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.3174, allocations: 343.7 kB / 0.7967 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.3177, allocations: 0.7121 MB / 0.7974 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.3178, allocations: 11.44 kB / 0.7975 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.3178, allocations: 0 / 0.7975 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of Templates: time 0.00413/0.3219, allocations: 2.145 MB / 0.7995 GB, free: 15.36 MB / 0.6231 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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