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.001184/0.001184, allocations: 96.14 kB / 15.87 MB, free: 16 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.001029/0.00103, allocations: 190.5 kB / 16.79 MB, free: 6.812 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.743/0.743, allocations: 132.2 MB / 422.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 59.66 kB / 0.5017 GB, free: 9.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1669, allocations: 80.21 MB / 0.58 GB, free: 9.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002788/0.1697, allocations: 1.655 MB / 0.5817 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009214/0.1706, allocations: 0.639 MB / 0.5823 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.1707, allocations: 0 / 0.5823 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.1709, allocations: 7.938 kB / 0.5823 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001699/0.1711, allocations: 46.45 kB / 0.5823 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.1714, allocations: 99.83 kB / 0.5824 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1715, allocations: 159.6 kB / 0.5826 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1717, allocations: 36.83 kB / 0.5826 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1718, allocations: 75.77 kB / 0.5827 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1719, allocations: 87.66 kB / 0.5828 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.172, allocations: 8 kB / 0.5828 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-05/0.172, allocations: 19.98 kB / 0.5828 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.644e-05/0.1721, allocations: 27.92 kB / 0.5828 GB, free: 6.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.918e-05/0.1722, allocations: 63.7 kB / 0.5829 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.1724, allocations: 116 kB / 0.583 GB, free: 6.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1724, allocations: 0 / 0.583 GB, free: 6.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1724, allocations: 0 / 0.583 GB, free: 6.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1724, allocations: 4 kB / 0.583 GB, free: 6.145 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.0006304/0.173, allocations: 0.5601 MB / 0.5835 GB, free: 5.512 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.1731, allocations: 8.031 kB / 0.5836 GB, free: 5.504 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.1731, allocations: 16.84 kB / 0.5836 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1734, allocations: 252.8 kB / 0.5838 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1734, allocations: 4.375 kB / 0.5838 GB, free: 5.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.1735, allocations: 16.38 kB / 0.5838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.1737, allocations: 105.8 kB / 0.5839 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1737, allocations: 4 kB / 0.5839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1738, allocations: 3.984 kB / 0.5839 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1738, allocations: 8 kB / 0.5839 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.174, allocations: 63.95 kB / 0.584 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.1746, allocations: 412.6 kB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.1748, allocations: 90.53 kB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1749, allocations: 77.02 kB / 0.5846 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.175, allocations: 11.97 kB / 0.5846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.1752, allocations: 178.6 kB / 0.5847 GB, free: 4.156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1752, allocations: 0 / 0.5847 GB, free: 4.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007005/0.1759, allocations: 356.8 kB / 0.5851 GB, free: 3.789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.1761, allocations: 162.2 kB / 0.5852 GB, free: 3.594 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1762, allocations: 178.5 kB / 0.5854 GB, free: 3.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.1762, allocations: 33.7 kB / 0.5854 GB, free: 3.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.1763, allocations: 112.3 kB / 0.5855 GB, free: 3.254 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.1763, allocations: 23.7 kB / 0.5856 GB, free: 3.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.1764, allocations: 37.7 kB / 0.5856 GB, free: 3.188 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1765, allocations: 334.8 kB / 0.5859 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1767, allocations: 43.97 kB / 0.586 GB, free: 2.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.1768, allocations: 102.8 kB / 0.5861 GB, free: 2.684 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.1772, allocations: 316.9 kB / 0.5864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1772, allocations: 0 / 0.5864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005021/0.1777, allocations: 344 kB / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.237e-05/0.1778, allocations: 122.8 kB / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1778, allocations: 0 / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1778, allocations: 4.25 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1779, allocations: 19.98 kB / 0.5868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1779, allocations: 7.938 kB / 0.5868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1781, allocations: 23.83 kB / 0.5869 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.1781, allocations: 8 kB / 0.5869 GB, free: 1.738 MB / 494.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 (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.0001448/0.1782, allocations: 197.6 kB / 0.5871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.1783, allocations: 11.91 kB / 0.5871 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.1783, allocations: 21.39 kB / 0.5871 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1783, allocations: 3.984 kB / 0.5871 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1783, allocations: 4 kB / 0.5871 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1783, allocations: 0 / 0.5871 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.179, allocations: 0.5916 MB / 0.5877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.179, allocations: 0 / 0.5877 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.1791, allocations: 15.92 kB / 0.5877 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1791, allocations: 3.938 kB / 0.5877 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1792, allocations: 11.98 kB / 0.5877 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1792, allocations: 4 kB / 0.5877 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1792, allocations: 3.938 kB / 0.5877 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.1797, allocations: 394.7 kB / 0.5881 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.1798, allocations: 88.92 kB / 0.5882 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.1798, allocations: 8 kB / 0.5882 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1799, allocations: 11.98 kB / 0.5882 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.18, allocations: 15.88 kB / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.18, allocations: 11.98 kB / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1801, allocations: 125.9 kB / 0.5883 GB, free: 100 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1801, allocations: 0 / 0.5883 GB, free: 100 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1804, allocations: 36 kB / 0.5884 GB, free: 64 kB / 494.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 (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.0002193/0.1806, allocations: 122.3 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004726/0.1811, allocations: 357.5 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.1811, allocations: 0 / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.1814, allocations: 206.7 kB / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.1817, allocations: 28.23 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005802/0.1823, allocations: 347.3 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1825, allocations: 0.7121 MB / 0.5901 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.1826, allocations: 15.44 kB / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1826, allocations: 0 / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.003819/0.1864, allocations: 2.154 MB / 0.5922 GB, free: 12.04 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f IDEAS_IDEAS.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/IDEAS 3.0.0/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/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