Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009023/0.000902, allocations: 98.89 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.0009845/0.0009844, allocations: 177.7 kB / 16.58 MB, free: 6.422 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.468/1.468, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.3 MB / 427 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004304, allocations: 8 kB / 0.5076 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2475, allocations: 82.3 MB / 0.588 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002842/0.2504, allocations: 1.297 MB / 0.5893 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2518, allocations: 0.5655 MB / 0.5898 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.2519, allocations: 3.938 kB / 0.5898 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.2522, allocations: 15.92 kB / 0.5898 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.2525, allocations: 43.77 kB / 0.5899 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008226/0.2534, allocations: 91.84 kB / 0.59 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.2537, allocations: 143.6 kB / 0.5901 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.2539, allocations: 29.09 kB / 0.5901 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.2542, allocations: 79.69 kB / 0.5902 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.2544, allocations: 75.72 kB / 0.5903 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.2545, allocations: 4 kB / 0.5903 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.2546, allocations: 20 kB / 0.5903 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2548, allocations: 23.91 kB / 0.5903 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.749e-05/0.2549, allocations: 49.64 kB / 0.5904 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.2551, allocations: 108.1 kB / 0.5905 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2552, allocations: 0 / 0.5905 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2552, allocations: 4 kB / 0.5905 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.2552, allocations: 4 kB / 0.5905 GB, free: 0.5469 MB / 494.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.001049/0.2563, allocations: 0.5288 MB / 0.591 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.015e-05/0.2563, allocations: 12.03 kB / 0.591 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.2564, allocations: 15.84 kB / 0.591 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.2569, allocations: 236.2 kB / 0.5912 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.257, allocations: 8 kB / 0.5912 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.257, allocations: 16 kB / 0.5913 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.2575, allocations: 121.6 kB / 0.5914 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2575, allocations: 0 / 0.5914 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.2576, allocations: 8 kB / 0.5914 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2576, allocations: 0 / 0.5914 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.2579, allocations: 83.88 kB / 0.5915 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.2588, allocations: 412.7 kB / 0.5919 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.2591, allocations: 94.56 kB / 0.592 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.2593, allocations: 80.81 kB / 0.592 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.2594, allocations: 0 / 0.592 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/0.2597, allocations: 190.9 kB / 0.5922 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.355e-06/0.2597, allocations: 0 / 0.5922 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.001018/0.2608, allocations: 364.6 kB / 0.5926 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.2609, allocations: 166.2 kB / 0.5927 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.2612, allocations: 188.2 kB / 0.5929 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.2612, allocations: 29.7 kB / 0.5929 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.2614, allocations: 112.3 kB / 0.593 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.2614, allocations: 27.69 kB / 0.5931 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.2614, allocations: 4 kB / 0.5931 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2616, allocations: 322.8 kB / 0.5934 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.2618, allocations: 55.97 kB / 0.5934 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/0.2621, allocations: 110.8 kB / 0.5935 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.2625, allocations: 178.8 kB / 0.5937 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2625, allocations: 0 / 0.5937 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0009117/0.2634, allocations: 356 kB / 0.594 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.2635, allocations: 118.8 kB / 0.5942 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.2636, allocations: 4 kB / 0.5942 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.2636, allocations: 4 kB / 0.5942 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.2638, allocations: 15.98 kB / 0.5942 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.2638, allocations: 12.17 kB / 0.5942 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.264, allocations: 23.89 kB / 0.5942 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.2641, allocations: 12 kB / 0.5942 GB, free: 12.31 MB / 0.4981 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.0002566/0.2644, allocations: 188.5 kB / 0.5944 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.398e-05/0.2644, allocations: 23.8 kB / 0.5944 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.2645, allocations: 17.39 kB / 0.5944 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2645, allocations: 0 / 0.5944 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.2645, allocations: 0 / 0.5944 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2646, allocations: 4 kB / 0.5944 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.2658, allocations: 0.5914 MB / 0.595 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2658, allocations: 4 kB / 0.595 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.2659, allocations: 12 kB / 0.595 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.2659, allocations: 7.984 kB / 0.595 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.266, allocations: 8.281 kB / 0.5951 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.266, allocations: 3.938 kB / 0.5951 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.266, allocations: 0 / 0.5951 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009177/0.2669, allocations: 414.5 kB / 0.5955 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.267, allocations: 96.91 kB / 0.5955 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.2671, allocations: 8 kB / 0.5956 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.2673, allocations: 8 kB / 0.5956 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.2674, allocations: 7.984 kB / 0.5956 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.2675, allocations: 4 kB / 0.5956 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001895/0.2677, allocations: 144.2 kB / 0.5957 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2677, allocations: 0 / 0.5957 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005612/0.2682, allocations: 36 kB / 0.5957 GB, free: 10.61 MB / 0.4981 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.0003608/0.2686, allocations: 137.6 kB / 0.5959 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007753/0.2694, allocations: 361.6 kB / 0.5962 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2694, allocations: 3.938 kB / 0.5962 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.2698, allocations: 214.7 kB / 0.5964 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.2704, allocations: 20.19 kB / 0.5964 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.2714, allocations: 336.1 kB / 0.5968 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.2718, allocations: 0.716 MB / 0.5975 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.2719, allocations: 15.44 kB / 0.5975 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of SimCode: time 7.32e-07/0.2719, allocations: 0 / 0.5975 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of Templates: time 0.007596/0.2795, allocations: 2.134 MB / 0.5996 GB, free: 6.582 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f IDEAS_dev_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-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/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1