Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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/KeyWordIO 0.11.0+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008269/0.0008272, 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.001048/0.001047, allocations: 181 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.417/1.417, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005737/0.005738, allocations: 0.9884 MB / 292.7 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 12 kB / 353.8 MB, free: 2.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3414, allocations: 50.62 MB / 404.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001536/0.343, allocations: 0.9772 MB / 405.4 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.3451, allocations: 1.146 MB / 406.6 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.3452, allocations: 0 / 406.6 MB, free: 9.336 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readLine.mo:2:1-36:13:writable] Warning: Pure function ‘KeyWordIO.readLine‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function ‘KeyWordIO.readRealCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeComponents: time 0.0009765/0.3462, allocations: 227.8 kB / 406.8 MB, free: 9.262 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.3463, allocations: 56.7 kB / 406.8 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.916e-06/0.3463, allocations: 0 / 406.8 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.3464, allocations: 80.41 kB / 406.9 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.3465, allocations: 4.25 kB / 406.9 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.246e-05/0.3465, allocations: 22.53 kB / 407 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.3467, allocations: 42.55 kB / 407 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3467, allocations: 2.547 kB / 407 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.3471, allocations: 233.1 kB / 407.2 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.3472, allocations: 33.17 kB / 407.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.3472, allocations: 27.2 kB / 407.3 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.3475, allocations: 155 kB / 407.4 MB, free: 9.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3476, allocations: 4 kB / 407.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3476, allocations: 3.812 kB / 407.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.3476, allocations: 3.938 kB / 407.4 MB, free: 9.074 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000306/0.3479, allocations: 391.2 kB / 407.8 MB, free: 8.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3479, allocations: 9.531 kB / 407.8 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.348, allocations: 80.28 kB / 407.9 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.3481, allocations: 259.6 kB / 408.2 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.3482, allocations: 150.6 kB / 408.3 MB, free: 8.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3482, allocations: 155.6 kB / 408.5 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.203e-05/0.3482, allocations: 108.9 kB / 408.6 MB, free: 7.906 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3483, allocations: 76.31 kB / 408.6 MB, free: 7.832 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.3483, allocations: 152.1 kB / 408.8 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.3483, allocations: 150.6 kB / 408.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.3483, allocations: 159.5 kB / 409.1 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.3485, allocations: 452.6 kB / 409.5 MB, free: 6.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.3486, allocations: 167.4 kB / 409.7 MB, free: 6.727 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.3486, allocations: 84.14 kB / 409.8 MB, free: 6.641 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.3486, allocations: 79.28 kB / 409.9 MB, free: 6.562 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3487, allocations: 111.6 kB / 410 MB, free: 6.445 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3487, allocations: 0 / 410 MB, free: 6.445 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.708e-05/0.3487, allocations: 33.45 kB / 410 MB, free: 6.41 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.3488, allocations: 126.7 kB / 410.1 MB, free: 6.273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3489, allocations: 137.5 kB / 410.3 MB, free: 6.164 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-06/0.3489, allocations: 27.33 kB / 410.3 MB, free: 6.133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/0.349, allocations: 90.66 kB / 410.4 MB, free: 6.043 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.349, allocations: 3.938 kB / 410.4 MB, free: 6.039 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.349, allocations: 0 / 410.4 MB, free: 6.039 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.349, allocations: 314.3 kB / 410.7 MB, free: 5.727 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-06/0.349, allocations: 0 / 410.7 MB, free: 5.727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-06/0.3491, allocations: 0 / 410.7 MB, free: 5.727 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.233e-05/0.3491, allocations: 76.94 kB / 410.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.3491, allocations: 75.28 kB / 410.8 MB, free: 5.578 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.827e-05/0.3491, allocations: 42.05 kB / 410.9 MB, free: 5.535 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3492, allocations: 84.98 kB / 411 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.3492, allocations: 76.28 kB / 411 MB, free: 5.383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.3492, allocations: 160.3 kB / 411.2 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-05/0.3492, allocations: 76.95 kB / 411.3 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/0.3493, allocations: 159.7 kB / 411.4 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.3493, allocations: 81.09 kB / 411.5 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.3494, allocations: 81.05 kB / 411.6 MB, free: 4.84 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 6.869e-05/0.3494, allocations: 268.9 kB / 411.8 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.3495, allocations: 107.5 kB / 411.9 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.3495, allocations: 112.3 kB / 412.1 MB, free: 4.348 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/0.3496, allocations: 186.1 kB / 412.2 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-05/0.3496, allocations: 182.2 kB / 412.4 MB, free: 3.977 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.902e-05/0.3496, allocations: 182.1 kB / 412.6 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.3498, allocations: 411.2 kB / 413 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.3498, allocations: 105.6 kB / 413.1 MB, free: 3.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.651e-05/0.3498, allocations: 106.7 kB / 413.2 MB, free: 3.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.843e-05/0.3499, allocations: 178.1 kB / 413.4 MB, free: 2.945 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.3499, allocations: 183.8 kB / 413.6 MB, free: 2.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.061e-05/0.3499, allocations: 182.6 kB / 413.7 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-05/0.35, allocations: 185.9 kB / 413.9 MB, free: 2.391 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.986e-05/0.35, allocations: 309.7 kB / 414.2 MB, free: 2.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.3501, allocations: 187.4 kB / 414.4 MB, free: 1.867 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.3501, allocations: 186.8 kB / 414.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.137e-05/0.3502, allocations: 103.5 kB / 414.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.3502, allocations: 181 kB / 414.9 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.3503, allocations: 111.1 kB / 415 MB, free: 1.277 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.3503, allocations: 111.6 kB / 415.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3503, allocations: 4 kB / 415.1 MB, free: 1.188 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.3508, allocations: 80.03 kB / 415.2 MB, free: 1.164 MB / 286.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0006761/0.3514, allocations: 401.8 kB / 415.6 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.616e-05/0.3515, allocations: 1.031 kB / 415.6 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3515, allocations: 0 / 415.6 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.544e-06/0.3515, allocations: 4.969 kB / 415.6 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.3518, allocations: 0.5207 MB / 416.1 MB, free: 420 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.352, allocations: 237.4 kB / 416.3 MB, free: 196 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.3523, allocations: 0.68 MB / 417 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.3523, allocations: 15.83 kB / 417 MB, free: 15.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3524, allocations: 1.25 kB / 417 MB, free: 15.48 MB / 302.1 MB Notification: Performance of Templates: time 0.005125/0.3575, allocations: 2.077 MB / 419.1 MB, free: 15.25 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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/Modelica 4.0.0+maint.om/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/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppKeyWordIO_KeyWordIO.Examples.ReadRealCSVCalcHelperMain.o OMCppKeyWordIO_KeyWordIO.Examples.ReadRealCSVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppKeyWordIO_KeyWordIO.Examples.ReadRealCSVCalcHelperMain.o] Error 1