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.001065/0.001066, allocations: 92.23 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.001661/0.001661, allocations: 182.8 kB / 16.92 MB, free: 6.922 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.981/1.981, allocations: 205.4 MB / 223.1 MB, free: 5.516 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.965/1.965, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0006208/0.000621, allocations: 17.94 kB / 0.675 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3781, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002238/0.3804, allocations: 1.324 MB / 0.7898 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3816, allocations: 0.6634 MB / 0.7905 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.3817, allocations: 7.938 kB / 0.7905 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.3818, allocations: 11.92 kB / 0.7905 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.382, allocations: 35.83 kB / 0.7905 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.3824, allocations: 107.8 kB / 0.7906 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.3826, allocations: 163.6 kB / 0.7908 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3828, allocations: 21.12 kB / 0.7908 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.383, allocations: 67.81 kB / 0.7909 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.3831, allocations: 79.72 kB / 0.791 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.3831, allocations: 8 kB / 0.791 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.3832, allocations: 20 kB / 0.791 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.3833, allocations: 27.8 kB / 0.791 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.3835, allocations: 93.41 kB / 0.7911 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.3836, allocations: 115.9 kB / 0.7912 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3837, allocations: 4 kB / 0.7912 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3837, allocations: 0 / 0.7912 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3837, allocations: 0 / 0.7912 GB, free: 8.824 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.000727/0.3844, allocations: 0.5174 MB / 0.7917 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.3845, allocations: 12.03 kB / 0.7917 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.3845, allocations: 16.75 kB / 0.7917 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.3848, allocations: 232.2 kB / 0.792 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3849, allocations: 8.375 kB / 0.792 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.3849, allocations: 16.36 kB / 0.792 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.3852, allocations: 125.6 kB / 0.7921 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3853, allocations: 4 kB / 0.7921 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.3853, allocations: 8 kB / 0.7921 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.3853, allocations: 3.938 kB / 0.7921 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.3855, allocations: 75.94 kB / 0.7922 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.3862, allocations: 432.5 kB / 0.7926 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.3865, allocations: 86.53 kB / 0.7927 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.3866, allocations: 80.81 kB / 0.7928 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3867, allocations: 4 kB / 0.7928 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003144/0.387, allocations: 178.8 kB / 0.7929 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.387, allocations: 4 kB / 0.7929 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0007474/0.3878, allocations: 368.8 kB / 0.7933 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.3879, allocations: 166.2 kB / 0.7935 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.3881, allocations: 178.6 kB / 0.7936 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.3881, allocations: 29.7 kB / 0.7937 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.3882, allocations: 116.3 kB / 0.7938 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.3882, allocations: 23.66 kB / 0.7938 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.3883, allocations: 21.7 kB / 0.7938 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3884, allocations: 330.8 kB / 0.7941 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3886, allocations: 63.95 kB / 0.7942 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3888, allocations: 102.8 kB / 0.7943 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.3891, allocations: 320.9 kB / 0.7946 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3892, allocations: 0 / 0.7946 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005336/0.3897, allocations: 352 kB / 0.7949 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.762e-05/0.3898, allocations: 122.8 kB / 0.795 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3898, allocations: 256 / 0.795 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3898, allocations: 8 kB / 0.795 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.39, allocations: 19.98 kB / 0.7951 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.39, allocations: 0 / 0.7951 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3901, allocations: 19.98 kB / 0.7951 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3901, allocations: 8.281 kB / 0.7951 GB, free: 4.406 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.0001963/0.3903, allocations: 197.6 kB / 0.7953 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.3904, allocations: 19.81 kB / 0.7953 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.3904, allocations: 25.33 kB / 0.7953 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3904, allocations: 0 / 0.7953 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3905, allocations: 0 / 0.7953 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.3905, allocations: 0 / 0.7953 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007895/0.3913, allocations: 0.5992 MB / 0.7959 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3913, allocations: 4 kB / 0.7959 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.3913, allocations: 8 kB / 0.7959 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3913, allocations: 4 kB / 0.7959 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.3914, allocations: 7.984 kB / 0.7959 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3914, allocations: 0 / 0.7959 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.3914, allocations: 3.938 kB / 0.7959 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.392, allocations: 414.6 kB / 0.7963 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.392, allocations: 100.9 kB / 0.7964 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.3921, allocations: 4 kB / 0.7964 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3922, allocations: 8 kB / 0.7964 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3923, allocations: 15.92 kB / 0.7965 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3923, allocations: 8 kB / 0.7965 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001113/0.3924, allocations: 133.1 kB / 0.7966 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3924, allocations: 0 / 0.7966 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002885/0.3927, allocations: 36 kB / 0.7966 GB, free: 2.699 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.0002842/0.393, allocations: 134.6 kB / 0.7968 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005579/0.3936, allocations: 373.4 kB / 0.7971 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3936, allocations: 0 / 0.7971 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.3939, allocations: 215.2 kB / 0.7973 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.3942, allocations: 20 kB / 0.7973 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.3949, allocations: 351.6 kB / 0.7977 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.3952, allocations: 0.7082 MB / 0.7984 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.3953, allocations: 15.44 kB / 0.7984 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.3953, allocations: 0 / 0.7984 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of Templates: time 0.004727/0.4, allocations: 2.149 MB / 0.8005 GB, free: 14.63 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++ -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