Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007101/0.0007102, allocations: 97.78 kB / 16.02 MB, free: 76 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.0007538/0.000754, allocations: 187.3 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.15/1.15, allocations: 205.4 MB / 223.1 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03556/0.03556, allocations: 8.115 MB / 279.5 MB, free: 13.12 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004793, allocations: 12 kB / 339.5 MB, free: 26.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07203/0.07251, allocations: 49.28 MB / 388.8 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.0005489/0.0731, allocations: 142.4 kB / 388.9 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 8.315e-05/0.0732, allocations: 39.89 kB / 389 MB, free: 9.188 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.07324, allocations: 0 / 389 MB, free: 9.188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.07337, allocations: 7.984 kB / 389 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.411e-05/0.07345, allocations: 19.97 kB / 389 MB, free: 9.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.888e-05/0.07349, allocations: 3.984 kB / 389 MB, free: 9.156 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.74e-05/0.07355, allocations: 19.98 kB / 389 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.0736, allocations: 0 / 389 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.07363, allocations: 19.86 kB / 389 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.0737, allocations: 23.97 kB / 389.1 MB, free: 9.094 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.07372, allocations: 4 kB / 389.1 MB, free: 9.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.714e-05/0.07376, allocations: 11.98 kB / 389.1 MB, free: 9.078 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.07379, allocations: 11.94 kB / 389.1 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.07382, allocations: 33.64 kB / 389.1 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.857e-05/0.07389, allocations: 11.97 kB / 389.1 MB, free: 9.016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.07389, allocations: 0 / 389.1 MB, free: 9.016 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.0739, allocations: 0 / 389.1 MB, free: 9.016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.07391, allocations: 0 / 389.1 MB, free: 9.016 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002466/0.07416, allocations: 319.6 kB / 389.5 MB, free: 8.652 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.0742, allocations: 8.031 kB / 389.5 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.07423, allocations: 4.938 kB / 389.5 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.685e-05/0.07433, allocations: 160.4 kB / 389.6 MB, free: 8.445 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.07435, allocations: 4.375 kB / 389.6 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.07437, allocations: 384 / 389.6 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.91e-05/0.07446, allocations: 38.25 kB / 389.7 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.07448, allocations: 8.031 kB / 389.7 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.0745, allocations: 7.938 kB / 389.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.07451, allocations: 0 / 389.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.516e-05/0.07454, allocations: 4 kB / 389.7 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.07466, allocations: 149.7 kB / 389.8 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.07481, allocations: 34.58 kB / 389.9 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.07484, allocations: 12.95 kB / 389.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.07487, allocations: 0 / 389.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.07489, allocations: 34.56 kB / 389.9 MB, free: 8.082 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 3.066e-06/0.0749, allocations: 7.922 kB / 389.9 MB, free: 8.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001095/0.07501, allocations: 49.62 kB / 390 MB, free: 8.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.07505, allocations: 55.41 kB / 390 MB, free: 7.953 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/0.07511, allocations: 93.8 kB / 390.1 MB, free: 7.852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.07513, allocations: 33.7 kB / 390.1 MB, free: 7.812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.147e-05/0.07516, allocations: 80.14 kB / 390.2 MB, free: 7.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.07518, allocations: 12.11 kB / 390.2 MB, free: 7.719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.07521, allocations: 9.719 kB / 390.2 MB, free: 7.703 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.07531, allocations: 318.8 kB / 390.6 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.07533, allocations: 4.859 kB / 390.6 MB, free: 7.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.07536, allocations: 29.77 kB / 390.6 MB, free: 7.34 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.0754, allocations: 21.72 kB / 390.6 MB, free: 7.312 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.07541, allocations: 4 kB / 390.6 MB, free: 7.309 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.498e-05/0.07548, allocations: 53.53 kB / 390.7 MB, free: 7.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.0755, allocations: 6.656 kB / 390.7 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.0755, allocations: 3.938 kB / 390.7 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.308e-06/0.07552, allocations: 4 kB / 390.7 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-05/0.07555, allocations: 4 kB / 390.7 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.07556, allocations: 4.031 kB / 390.7 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.07558, allocations: 4 kB / 390.7 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.07559, allocations: 3.938 kB / 390.7 MB, free: 7.223 MB / 286.1 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE(fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001255/0.07572, allocations: 113.8 kB / 390.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-06/0.07574, allocations: 4 kB / 390.8 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.742e-05/0.07583, allocations: 53.06 kB / 390.9 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.07584, allocations: 0 / 390.9 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.07584, allocations: 0 / 390.9 MB, free: 7.031 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.07585, allocations: 4 kB / 390.9 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.789e-05/0.07595, allocations: 149.7 kB / 391 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.07595, allocations: 4 kB / 391 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.07599, allocations: 8 kB / 391 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.076, allocations: 4 kB / 391 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.07601, allocations: 3.938 kB / 391 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.07602, allocations: 0 / 391 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.07602, allocations: 0 / 391 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.803e-05/0.07612, allocations: 81.05 kB / 391.1 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.432e-05/0.07617, allocations: 81.44 kB / 391.2 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.07618, allocations: 7.938 kB / 391.2 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-06/0.0762, allocations: 0 / 391.2 MB, free: 6.609 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.07621, allocations: 4.031 kB / 391.2 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.07622, allocations: 3.938 kB / 391.2 MB, free: 6.602 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.78e-05/0.07625, allocations: 75.28 kB / 391.3 MB, free: 6.527 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07626, allocations: 0 / 391.3 MB, free: 6.527 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001657/0.07643, allocations: 7.984 kB / 391.3 MB, free: 6.52 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (z) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001818/0.07662, allocations: 115.2 kB / 391.4 MB, free: 6.402 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.134e-05/0.07669, allocations: 19.98 kB / 391.4 MB, free: 6.383 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.0767, allocations: 0 / 391.4 MB, free: 6.383 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.07671, allocations: 7.938 kB / 391.4 MB, free: 6.375 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.07684, allocations: 11.94 kB / 391.4 MB, free: 6.363 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.07711, allocations: 150.5 kB / 391.6 MB, free: 6.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.07733, allocations: 0.677 MB / 392.3 MB, free: 5.477 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.07736, allocations: 11.44 kB / 392.3 MB, free: 5.465 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.07736, allocations: 0 / 392.3 MB, free: 5.465 MB / 286.1 MB Notification: Performance of Templates: time 0.001601/0.07897, allocations: 0.64 MB / 392.9 MB, free: 4.832 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.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/ModelicaByExample 0.6.0/Functions/Interpolation/source" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/Functions/Interpolation/source" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVectorCalcHelperMain.o OMCppModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVectorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVectorCalcHelperMain.o] Error 1