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.0009407/0.0009409, allocations: 99.59 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.001341/0.001341, allocations: 173.2 kB / 16.58 MB, free: 6.422 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.901/1.901, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04032/0.04032, allocations: 8.094 MB / 279.1 MB, free: 13.22 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.0005416/0.0005417, allocations: 18.97 kB / 338.9 MB, free: 27.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 49.27 MB / 388.2 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.0007289/0.131, allocations: 142.4 kB / 388.3 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001025/0.1311, allocations: 35.91 kB / 388.3 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.1312, allocations: 0 / 388.3 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1313, allocations: 7.938 kB / 388.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.1315, allocations: 19.97 kB / 388.4 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.014e-05/0.1315, allocations: 4 kB / 388.4 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.878e-05/0.1316, allocations: 19.97 kB / 388.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.933e-05/0.1316, allocations: 0 / 388.4 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.1317, allocations: 11.98 kB / 388.4 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.1317, allocations: 27.89 kB / 388.4 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1318, allocations: 4 kB / 388.4 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.1318, allocations: 8 kB / 388.4 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.1318, allocations: 4 kB / 388.4 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.1319, allocations: 25.7 kB / 388.5 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.404e-05/0.132, allocations: 11.98 kB / 388.5 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.132, allocations: 0 / 388.5 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.132, allocations: 0 / 388.5 MB, free: 9.395 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.132, allocations: 0 / 388.5 MB, free: 9.395 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.0003651/0.1324, allocations: 315.4 kB / 388.8 MB, free: 9.039 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1324, allocations: 16.03 kB / 388.8 MB, free: 9.023 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.1324, allocations: 3.938 kB / 388.8 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.1326, allocations: 159.1 kB / 389 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.1326, allocations: 4 kB / 389 MB, free: 8.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.1327, allocations: 7.938 kB / 389 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1328, allocations: 41.58 kB / 389 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.1328, allocations: 3.906 kB / 389 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1329, allocations: 0 / 389 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1329, allocations: 4 kB / 389 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.626e-05/0.1329, allocations: 8 kB / 389 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.1332, allocations: 153.7 kB / 389.2 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.1335, allocations: 30.61 kB / 389.2 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.1335, allocations: 16.86 kB / 389.2 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1336, allocations: 4 kB / 389.2 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.1336, allocations: 34.52 kB / 389.3 MB, free: 8.445 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1336, allocations: 0 / 389.3 MB, free: 8.445 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001995/0.1338, allocations: 49.69 kB / 389.3 MB, free: 8.391 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1339, allocations: 51.41 kB / 389.4 MB, free: 8.328 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.134, allocations: 93.84 kB / 389.5 MB, free: 8.227 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.134, allocations: 29.7 kB / 389.5 MB, free: 8.191 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.1341, allocations: 80.14 kB / 389.6 MB, free: 8.109 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.1341, allocations: 12.12 kB / 389.6 MB, free: 8.098 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.1341, allocations: 0 / 389.6 MB, free: 8.098 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1343, allocations: 311 kB / 389.9 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.1343, allocations: 16.8 kB / 389.9 MB, free: 7.766 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.062e-05/0.1344, allocations: 21.7 kB / 389.9 MB, free: 7.738 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.1344, allocations: 8 kB / 389.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1344, allocations: 0 / 389.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.974e-05/0.1345, allocations: 57.53 kB / 390 MB, free: 7.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1345, allocations: 4 kB / 390 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1345, allocations: 3.953 kB / 390 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1345, allocations: 4.031 kB / 390 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.269e-05/0.1346, allocations: 8.328 kB / 390 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1346, allocations: 0 / 390 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.1346, allocations: 0 / 390 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1346, allocations: 7.984 kB / 390 MB, free: 7.641 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.1348, allocations: 109.8 kB / 390.1 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.1348, allocations: 7.984 kB / 390.1 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.135, allocations: 57.06 kB / 390.2 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.135, allocations: 7.953 kB / 390.2 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.135, allocations: 3.938 kB / 390.2 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.135, allocations: 0 / 390.2 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.1352, allocations: 153.7 kB / 390.3 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1352, allocations: 0 / 390.3 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.1352, allocations: 4 kB / 390.3 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1352, allocations: 0 / 390.3 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1352, allocations: 0 / 390.3 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1353, allocations: 4 kB / 390.4 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1353, allocations: 3.953 kB / 390.4 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.1354, allocations: 81.02 kB / 390.4 MB, free: 7.125 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.1355, allocations: 81.14 kB / 390.5 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1355, allocations: 3.938 kB / 390.5 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.246e-05/0.1355, allocations: 4 kB / 390.5 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.1355, allocations: 3.953 kB / 390.5 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1355, allocations: 4 kB / 390.5 MB, free: 7.012 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.874e-05/0.1356, allocations: 75.28 kB / 390.6 MB, free: 6.938 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1356, allocations: 0 / 390.6 MB, free: 6.938 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.1358, allocations: 8.156 kB / 390.6 MB, free: 6.93 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 (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.0002922/0.1361, allocations: 120.9 kB / 390.7 MB, free: 6.812 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.322e-05/0.1362, allocations: 12 kB / 390.7 MB, free: 6.801 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.257e-06/0.1362, allocations: 4 kB / 390.7 MB, free: 6.797 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.817e-05/0.1362, allocations: 11.92 kB / 390.8 MB, free: 6.785 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.1364, allocations: 4.062 kB / 390.8 MB, free: 6.781 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.1368, allocations: 150.6 kB / 390.9 MB, free: 6.598 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1371, allocations: 0.677 MB / 391.6 MB, free: 5.895 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.1372, allocations: 11.44 kB / 391.6 MB, free: 5.883 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1372, allocations: 0 / 391.6 MB, free: 5.883 MB / 286.1 MB Notification: Performance of Templates: time 0.002678/0.1399, allocations: 0.6364 MB / 392.2 MB, free: 5.246 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.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/ModelicaByExample 0.6.0/Functions/Interpolation/source" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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