Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008522/0.0008522, allocations: 102.1 kB / 15.71 MB, free: 460 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.001016/0.001016, allocations: 176 kB / 16.58 MB, free: 6.402 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.392/1.392, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7669/0.7669, allocations: 132.3 MB / 424 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004751, allocations: 8.812 kB / 0.504 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5418/0.5423, allocations: 81.59 MB / 0.5837 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.001961/0.5443, allocations: 1.292 MB / 0.5849 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.5453, allocations: 0.5816 MB / 0.5855 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.5453, allocations: 0.6875 kB / 0.5855 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.5455, allocations: 18.91 kB / 0.5855 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.5457, allocations: 34.97 kB / 0.5856 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.5461, allocations: 99.19 kB / 0.5857 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.5463, allocations: 150.1 kB / 0.5858 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.5465, allocations: 17.8 kB / 0.5858 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.5466, allocations: 72.47 kB / 0.5859 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.5468, allocations: 79.98 kB / 0.586 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.5468, allocations: 5.969 kB / 0.586 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/0.5469, allocations: 14.3 kB / 0.586 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.547, allocations: 22.45 kB / 0.586 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.813e-05/0.5471, allocations: 49.52 kB / 0.5861 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.5473, allocations: 121.9 kB / 0.5862 GB, free: 2.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.5473, allocations: 0 / 0.5862 GB, free: 2.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5473, allocations: 4.5 kB / 0.5862 GB, free: 2.605 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.5473, allocations: 0.9062 kB / 0.5862 GB, free: 2.605 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.0005497/0.5479, allocations: 0.5264 MB / 0.5867 GB, free: 2.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5479, allocations: 9.719 kB / 0.5867 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.548, allocations: 15.77 kB / 0.5867 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.5483, allocations: 234.8 kB / 0.5869 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.5483, allocations: 14.62 kB / 0.587 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.5483, allocations: 11.19 kB / 0.587 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.5486, allocations: 119.1 kB / 0.5871 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.5486, allocations: 0 / 0.5871 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.5487, allocations: 2.438 kB / 0.5871 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5487, allocations: 4.766 kB / 0.5871 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.5489, allocations: 80.23 kB / 0.5872 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.5495, allocations: 430.6 kB / 0.5876 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.5498, allocations: 88.98 kB / 0.5877 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.5499, allocations: 79.94 kB / 0.5877 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.55, allocations: 1.125 kB / 0.5877 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000268/0.5503, allocations: 182.6 kB / 0.5879 GB, free: 1.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.5503, allocations: 0 / 0.5879 GB, free: 1.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007749/0.5511, allocations: 373 kB / 0.5883 GB, free: 1.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.5511, allocations: 162.2 kB / 0.5884 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.5513, allocations: 176.1 kB / 0.5886 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.5513, allocations: 29.8 kB / 0.5886 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.5514, allocations: 114.9 kB / 0.5887 GB, free: 0.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.5514, allocations: 22.14 kB / 0.5887 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.5514, allocations: 7.156 kB / 0.5888 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.5515, allocations: 327.1 kB / 0.5891 GB, free: 248 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.5517, allocations: 55.2 kB / 0.5891 GB, free: 236 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.5518, allocations: 111.6 kB / 0.5892 GB, free: 148 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.552, allocations: 174.5 kB / 0.5894 GB, free: 0 / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.552, allocations: 0 / 0.5894 GB, free: 0 / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005992/0.5527, allocations: 355.5 kB / 0.5897 GB, free: 15.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.434e-05/0.5528, allocations: 118.6 kB / 0.5898 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5528, allocations: 3.375 kB / 0.5898 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5528, allocations: 6.438 kB / 0.5899 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.5529, allocations: 26.92 kB / 0.5899 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.5529, allocations: 3.906 kB / 0.5899 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.5531, allocations: 23.94 kB / 0.5899 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.5531, allocations: 9.062 kB / 0.5899 GB, free: 15.62 MB / 446.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.0001831/0.5533, allocations: 192.9 kB / 0.5901 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.5533, allocations: 21.28 kB / 0.5901 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.5534, allocations: 22.7 kB / 0.5901 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/0.5534, allocations: 1.188 kB / 0.5901 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.5534, allocations: 5.016 kB / 0.5901 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.5534, allocations: 4.453 kB / 0.5901 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008375/0.5543, allocations: 0.583 MB / 0.5907 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5543, allocations: 5.531 kB / 0.5907 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.927e-05/0.5543, allocations: 17.05 kB / 0.5907 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.5544, allocations: 0 / 0.5907 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.5544, allocations: 7.75 kB / 0.5907 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5544, allocations: 3.953 kB / 0.5907 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5544, allocations: 0.8125 kB / 0.5908 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.555, allocations: 407.8 kB / 0.5911 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.5551, allocations: 89.78 kB / 0.5912 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.5552, allocations: 9.031 kB / 0.5912 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.5553, allocations: 9.297 kB / 0.5912 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/0.5553, allocations: 10.88 kB / 0.5913 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.5554, allocations: 10.91 kB / 0.5913 GB, free: 14.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.5555, allocations: 138.4 kB / 0.5914 GB, free: 14.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5555, allocations: 0 / 0.5914 GB, free: 14.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.5558, allocations: 39.84 kB / 0.5914 GB, free: 14.48 MB / 446.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.0002579/0.5561, allocations: 124.5 kB / 0.5916 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005707/0.5567, allocations: 374.6 kB / 0.5919 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5567, allocations: 0.75 kB / 0.5919 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.5569, allocations: 207.6 kB / 0.5921 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.5573, allocations: 22.27 kB / 0.5921 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008102/0.5581, allocations: 346.1 kB / 0.5925 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.5585, allocations: 0.7088 MB / 0.5932 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.5585, allocations: 16 kB / 0.5932 GB, free: 12.97 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5586, allocations: 0 / 0.5932 GB, free: 12.97 MB / 446.1 MB Notification: Performance of Templates: time 0.004915/0.5635, allocations: 2.14 MB / 0.5953 GB, free: 12.73 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f IDEAS_IDEAS.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/IDEAS 3.0.0/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/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1