Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008502/0.0008503, allocations: 98.64 kB / 16.33 MB, free: 5.691 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.0008799/0.0008799, allocations: 185.7 kB / 17.23 MB, free: 5.605 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.596/1.596, allocations: 223.2 MB / 241.2 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7447/0.7447, allocations: 114.4 MB / 406.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 16.66 kB / 494.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1927, allocations: 77.26 MB / 0.5583 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVWriter): time 0.002233/0.195, allocations: 1.298 MB / 0.5596 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1961, allocations: 0.5693 MB / 0.5601 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1962, allocations: 0 / 0.5601 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.1964, allocations: 19.92 kB / 0.5602 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1967, allocations: 35.83 kB / 0.5602 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.1971, allocations: 95.83 kB / 0.5603 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.1973, allocations: 147.6 kB / 0.5604 GB, free: 8.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1974, allocations: 25.11 kB / 0.5605 GB, free: 8.734 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1976, allocations: 67.81 kB / 0.5605 GB, free: 8.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1978, allocations: 75.73 kB / 0.5606 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.1978, allocations: 4 kB / 0.5606 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.1979, allocations: 23.98 kB / 0.5606 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.198, allocations: 23.91 kB / 0.5606 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.1981, allocations: 49.64 kB / 0.5607 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1983, allocations: 116 kB / 0.5608 GB, free: 8.375 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1983, allocations: 4 kB / 0.5608 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1983, allocations: 0 / 0.5608 GB, free: 8.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1983, allocations: 0 / 0.5608 GB, free: 8.371 MB / 430.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.0007567/0.1991, allocations: 0.5288 MB / 0.5613 GB, free: 7.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1991, allocations: 12.02 kB / 0.5613 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.1992, allocations: 19.81 kB / 0.5613 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.1995, allocations: 230.8 kB / 0.5616 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.1995, allocations: 16 kB / 0.5616 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.1996, allocations: 12 kB / 0.5616 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.1999, allocations: 125.5 kB / 0.5617 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1999, allocations: 0 / 0.5617 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1999, allocations: 0 / 0.5617 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1999, allocations: 4 kB / 0.5617 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.2001, allocations: 75.95 kB / 0.5618 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.2009, allocations: 420.5 kB / 0.5622 GB, free: 6.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.2011, allocations: 102.5 kB / 0.5623 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.2013, allocations: 80.81 kB / 0.5624 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.2014, allocations: 0 / 0.5624 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/0.2017, allocations: 182.7 kB / 0.5625 GB, free: 6.383 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.2017, allocations: 0 / 0.5625 GB, free: 6.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007746/0.2025, allocations: 365 kB / 0.5629 GB, free: 6.008 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.2026, allocations: 170.2 kB / 0.563 GB, free: 5.805 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.2028, allocations: 178.6 kB / 0.5632 GB, free: 5.617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.2029, allocations: 29.7 kB / 0.5632 GB, free: 5.582 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.203, allocations: 112.3 kB / 0.5634 GB, free: 5.465 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.203, allocations: 23.62 kB / 0.5634 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.203, allocations: 4 kB / 0.5634 GB, free: 5.438 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2032, allocations: 326.8 kB / 0.5637 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.2033, allocations: 60.23 kB / 0.5637 GB, free: 5.051 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.2035, allocations: 98.83 kB / 0.5638 GB, free: 4.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.2038, allocations: 178.8 kB / 0.564 GB, free: 4.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2038, allocations: 3.938 kB / 0.564 GB, free: 4.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000584/0.2044, allocations: 356.1 kB / 0.5644 GB, free: 4.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.2046, allocations: 118.8 kB / 0.5645 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.2046, allocations: 4 kB / 0.5645 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.2046, allocations: 0 / 0.5645 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.2048, allocations: 28.17 kB / 0.5645 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.2048, allocations: 4 kB / 0.5645 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2049, allocations: 19.84 kB / 0.5645 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.2049, allocations: 15.92 kB / 0.5645 GB, free: 4.137 MB / 430.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 ($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.000192/0.2051, allocations: 192.7 kB / 0.5647 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.2052, allocations: 27.77 kB / 0.5648 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.2052, allocations: 9.406 kB / 0.5648 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2052, allocations: 11.98 kB / 0.5648 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.2052, allocations: 0 / 0.5648 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2053, allocations: 3.938 kB / 0.5648 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008152/0.2061, allocations: 0.5837 MB / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2061, allocations: 0 / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.507e-05/0.2062, allocations: 23.92 kB / 0.5654 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.2062, allocations: 3.984 kB / 0.5654 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.2062, allocations: 7.984 kB / 0.5654 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2062, allocations: 4 kB / 0.5654 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2063, allocations: 0 / 0.5654 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.2069, allocations: 418.5 kB / 0.5658 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.207, allocations: 92.92 kB / 0.5659 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.2071, allocations: 4 kB / 0.5659 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2072, allocations: 11.98 kB / 0.5659 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.2073, allocations: 4 kB / 0.5659 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.2073, allocations: 15.98 kB / 0.5659 GB, free: 2.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.2074, allocations: 124.3 kB / 0.566 GB, free: 2.484 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2074, allocations: 8 kB / 0.566 GB, free: 2.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00033/0.2078, allocations: 43.92 kB / 0.5661 GB, free: 2.434 MB / 430.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 (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.0003958/0.2082, allocations: 122.2 kB / 0.5662 GB, free: 2.316 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005753/0.2088, allocations: 373.4 kB / 0.5665 GB, free: 1.902 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2088, allocations: 0 / 0.5665 GB, free: 1.902 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.2091, allocations: 206.8 kB / 0.5667 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.2094, allocations: 20.67 kB / 0.5668 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/0.2102, allocations: 347.8 kB / 0.5671 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.2107, allocations: 0.7121 MB / 0.5678 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.2108, allocations: 19.42 kB / 0.5678 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2108, allocations: 0 / 0.5678 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of Templates: time 0.005863/0.2167, allocations: 2.136 MB / 0.5699 GB, free: 14.4 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f IBPSA_latest_IBPSA.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/IBPSA 4.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/IBPSA 4.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1