Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_latest_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.0008883/0.0008883, allocations: 100.5 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.0009403/0.0009401, allocations: 178.8 kB / 16.58 MB, free: 6.879 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.586/1.586, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.908/2.908, allocations: 436.7 MB / 0.7113 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 8 kB / 0.8717 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7648/0.7652, allocations: 153.6 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002151/0.7674, allocations: 1.316 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009491/0.7684, allocations: 0.581 MB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.7685, allocations: 4 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.7686, allocations: 15.88 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.7688, allocations: 35.83 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.7692, allocations: 91.89 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.7694, allocations: 151.6 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.7695, allocations: 21.11 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.7697, allocations: 79.75 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.7698, allocations: 79.72 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.7699, allocations: 4 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-05/0.77, allocations: 16 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.77, allocations: 19.92 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.656e-05/0.7701, allocations: 49.64 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.7703, allocations: 117.7 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7703, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7703, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.7703, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 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.0007314/0.7711, allocations: 0.5289 MB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.7711, allocations: 15.98 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.7712, allocations: 11.91 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.7715, allocations: 226.8 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.7715, allocations: 15.94 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.7716, allocations: 11.95 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.7719, allocations: 121.6 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.7719, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.7719, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.7719, allocations: 7.938 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.7721, allocations: 79.88 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.7728, allocations: 428.5 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.773, allocations: 94.53 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.7732, allocations: 84.84 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.7732, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003092/0.7735, allocations: 190.6 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.7736, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0007334/0.7743, allocations: 360.9 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.7744, allocations: 162.2 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.7746, allocations: 182.6 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.7746, allocations: 25.7 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.7747, allocations: 112.4 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.7748, allocations: 23.66 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.7748, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7749, allocations: 330.8 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.7751, allocations: 51.97 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.7753, allocations: 113.7 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.7755, allocations: 182.7 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7755, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005367/0.7761, allocations: 356 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.275e-05/0.7762, allocations: 118.8 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.7762, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.7762, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.7763, allocations: 19.98 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.7764, allocations: 4 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.7765, allocations: 28.08 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.7765, allocations: 8 kB / 1.028 GB, free: 10.32 MB / 0.7794 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.0001961/0.7767, allocations: 197.1 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.7767, allocations: 15.91 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.7768, allocations: 17.39 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7768, allocations: 4.281 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7768, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.7768, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000828/0.7776, allocations: 0.603 MB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.7777, allocations: 0 / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.7777, allocations: 12 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.7777, allocations: 0 / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.7778, allocations: 11.98 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.7778, allocations: 4 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7778, allocations: 0 / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.7784, allocations: 406.6 kB / 1.029 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.7785, allocations: 96.91 kB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.7785, allocations: 8 kB / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.7786, allocations: 8 kB / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.7787, allocations: 3.984 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.7787, allocations: 12 kB / 1.029 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001105/0.7788, allocations: 132.3 kB / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7788, allocations: 0 / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002911/0.7791, allocations: 32 kB / 1.029 GB, free: 8.645 MB / 0.7794 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.0002904/0.7794, allocations: 140.9 kB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005947/0.78, allocations: 369.7 kB / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.78, allocations: 0 / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.7803, allocations: 210.7 kB / 1.03 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.7806, allocations: 21.86 kB / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000624/0.7813, allocations: 355.8 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.7817, allocations: 0.7121 MB / 1.031 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.7818, allocations: 11.44 kB / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7818, allocations: 0 / 1.031 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of Templates: time 0.004399/0.7862, allocations: 2.16 MB / 1.033 GB, free: 4.566 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f Buildings_latest_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 11.0.0-master/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 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1