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.000855/0.0008553, allocations: 91.53 kB / 16.02 MB, free: 80 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.001077/0.001078, allocations: 177.9 kB / 16.92 MB, free: 6.652 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.322/1.322, allocations: 223.2 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7234/0.7234, allocations: 132.3 MB / 424.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 8.625 kB / 0.5046 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4207, allocations: 81.58 MB / 0.5843 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.001794/0.4225, allocations: 1.314 MB / 0.5856 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.4236, allocations: 0.6293 MB / 0.5862 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.4236, allocations: 5.562 kB / 0.5862 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.4238, allocations: 10.08 kB / 0.5862 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.424, allocations: 43.61 kB / 0.5862 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.4245, allocations: 101.3 kB / 0.5863 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.4247, allocations: 155.5 kB / 0.5865 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.4248, allocations: 31.39 kB / 0.5865 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.425, allocations: 73.56 kB / 0.5866 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.4252, allocations: 84.55 kB / 0.5867 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.4252, allocations: 5.156 kB / 0.5867 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.238e-05/0.4253, allocations: 22.14 kB / 0.5867 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.877e-05/0.4254, allocations: 23.52 kB / 0.5867 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.4255, allocations: 96.97 kB / 0.5868 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.4258, allocations: 113.8 kB / 0.5869 GB, free: 2.301 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4258, allocations: 0.9062 kB / 0.5869 GB, free: 2.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4258, allocations: 0 / 0.5869 GB, free: 2.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.4258, allocations: 0 / 0.5869 GB, free: 2.301 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.0006638/0.4265, allocations: 0.5274 MB / 0.5874 GB, free: 1.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.4265, allocations: 9 kB / 0.5874 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.4266, allocations: 16.34 kB / 0.5875 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.4269, allocations: 236 kB / 0.5877 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.4269, allocations: 6.094 kB / 0.5877 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.427, allocations: 19.97 kB / 0.5877 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.4273, allocations: 126.6 kB / 0.5878 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4273, allocations: 0.5625 kB / 0.5878 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.4273, allocations: 2.906 kB / 0.5878 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.4273, allocations: 1 kB / 0.5878 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.4276, allocations: 76.11 kB / 0.5879 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.4282, allocations: 420.8 kB / 0.5883 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.4284, allocations: 90.09 kB / 0.5884 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.4286, allocations: 88.05 kB / 0.5885 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.4287, allocations: 0.9688 kB / 0.5885 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003397/0.429, allocations: 190.5 kB / 0.5887 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 2.825e-06/0.429, allocations: 4 kB / 0.5887 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009191/0.43, allocations: 359.2 kB / 0.589 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.4301, allocations: 170 kB / 0.5892 GB, free: 0.543 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.4303, allocations: 171.8 kB / 0.5893 GB, free: 428 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.4303, allocations: 37.61 kB / 0.5894 GB, free: 388 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.588e-05/0.4304, allocations: 108.2 kB / 0.5895 GB, free: 284 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.4304, allocations: 28.98 kB / 0.5895 GB, free: 260 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.4305, allocations: 22.73 kB / 0.5895 GB, free: 240 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4307, allocations: 331.3 kB / 0.5898 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.4309, allocations: 50.86 kB / 0.5899 GB, free: 15.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.4311, allocations: 108.5 kB / 0.59 GB, free: 15.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.4315, allocations: 320.3 kB / 0.5903 GB, free: 15.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4315, allocations: 4.719 kB / 0.5903 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006006/0.4321, allocations: 352.1 kB / 0.5906 GB, free: 15.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.653e-05/0.4322, allocations: 119.5 kB / 0.5908 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4322, allocations: 7.141 kB / 0.5908 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4322, allocations: 2.562 kB / 0.5908 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.4324, allocations: 18.78 kB / 0.5908 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.4324, allocations: 3.312 kB / 0.5908 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4325, allocations: 23.34 kB / 0.5908 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.4325, allocations: 8.312 kB / 0.5908 GB, free: 15.16 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 (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.0001686/0.4327, allocations: 199.5 kB / 0.591 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.4328, allocations: 16.5 kB / 0.591 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.4328, allocations: 24.22 kB / 0.591 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4328, allocations: 0 / 0.591 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4328, allocations: 1.562 kB / 0.591 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4328, allocations: 0.9844 kB / 0.591 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/0.4337, allocations: 0.5952 MB / 0.5916 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4337, allocations: 0 / 0.5916 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.85e-05/0.4337, allocations: 12.84 kB / 0.5916 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4338, allocations: 0.875 kB / 0.5916 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.4338, allocations: 7.766 kB / 0.5916 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4338, allocations: 0 / 0.5916 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.4338, allocations: 4.625 kB / 0.5917 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/0.4344, allocations: 420.3 kB / 0.5921 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.4345, allocations: 89.84 kB / 0.5921 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.4345, allocations: 9.484 kB / 0.5921 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.4346, allocations: 8.656 kB / 0.5922 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.4347, allocations: 10.64 kB / 0.5922 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.4347, allocations: 15.98 kB / 0.5922 GB, free: 14.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.4348, allocations: 130.6 kB / 0.5923 GB, free: 14.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4348, allocations: 0 / 0.5923 GB, free: 14.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.4352, allocations: 39.19 kB / 0.5923 GB, free: 14.02 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 (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.0002789/0.4354, allocations: 119.3 kB / 0.5925 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005627/0.436, allocations: 372.4 kB / 0.5928 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.436, allocations: 0 / 0.5928 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.4363, allocations: 213.4 kB / 0.593 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.4366, allocations: 21.61 kB / 0.593 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.4373, allocations: 362 kB / 0.5934 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.4376, allocations: 0.7062 MB / 0.5941 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.4376, allocations: 14.44 kB / 0.5941 GB, free: 12.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4377, allocations: 1.312 kB / 0.5941 GB, free: 12.5 MB / 446.1 MB Notification: Performance of Templates: time 0.004768/0.4424, allocations: 2.147 MB / 0.5962 GB, free: 12.25 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++ -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