Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") translateModel(HanserModelica.VariablesTypes.VectorsMatrices1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008319/0.0008319, allocations: 102.6 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 239.7 MB, free: 5.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 176.5 kB / 290.9 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03415/0.03415, allocations: 8.779 MB / 350.8 MB, free: 4.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004174, allocations: 9.406 kB / 413.8 MB, free: 43.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 52.56 MB / 466.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.0006879/0.1152, allocations: 250.2 kB / 466.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.1165, allocations: 1.091 MB / 467.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.1166, allocations: 7.938 kB / 467.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.1168, allocations: 4 kB / 467.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.1169, allocations: 23.91 kB / 467.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.562e-05/0.117, allocations: 4 kB / 467.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.884e-05/0.117, allocations: 31.91 kB / 467.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.1171, allocations: 4 kB / 467.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.317e-05/0.1172, allocations: 27.84 kB / 467.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.1173, allocations: 35.89 kB / 467.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1173, allocations: 8 kB / 467.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.1174, allocations: 0 / 467.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.1174, allocations: 31.91 kB / 467.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.1175, allocations: 41.62 kB / 467.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.898e-05/0.1176, allocations: 31.95 kB / 467.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1176, allocations: 0 / 467.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1176, allocations: 0 / 467.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1176, allocations: 0 / 467.9 MB, free: 11.95 MB / 302.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.0006923/0.1183, allocations: 401.2 kB / 468.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1184, allocations: 8.031 kB / 468.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.1184, allocations: 11.86 kB / 468.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1187, allocations: 227.2 kB / 468.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.1188, allocations: 3.984 kB / 468.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.1188, allocations: 0 / 468.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1189, allocations: 45.62 kB / 468.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1189, allocations: 0 / 468.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1189, allocations: 0 / 468.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1189, allocations: 4 kB / 468.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.49e-05/0.119, allocations: 19.94 kB / 468.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.1192, allocations: 189.7 kB / 468.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/0.1193, allocations: 30.56 kB / 468.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.1194, allocations: 12.86 kB / 468.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1194, allocations: 8.016 kB / 468.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.1194, allocations: 30.56 kB / 468.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1194, allocations: 4 kB / 468.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001791/0.1196, allocations: 65.53 kB / 469 MB, free: 10.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.1197, allocations: 51.41 kB / 469 MB, free: 10.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.1199, allocations: 214.3 kB / 469.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.12, allocations: 29.64 kB / 469.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.12, allocations: 108.1 kB / 469.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1201, allocations: 7.906 kB / 469.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.1201, allocations: 0 / 469.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1202, allocations: 326.8 kB / 469.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.1203, allocations: 7.984 kB / 469.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.1203, allocations: 11.94 kB / 469.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.1203, allocations: 7.984 kB / 469.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1203, allocations: 0 / 469.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.775e-05/0.1204, allocations: 61.5 kB / 469.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1204, allocations: 4 kB / 469.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1204, allocations: 0 / 469.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1205, allocations: 0 / 469.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.1205, allocations: 4 kB / 469.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1206, allocations: 8 kB / 469.8 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.505e-05/0.1206, allocations: 3.984 kB / 469.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.1206, allocations: 3.953 kB / 469.8 MB, free: 9.867 MB / 302.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 (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 prepare postOptimizeDAE: time 9.617e-05/0.1207, allocations: 125.8 kB / 469.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.1208, allocations: 7.906 kB / 469.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.1209, allocations: 70.86 kB / 470 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1209, allocations: 0 / 470 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1209, allocations: 0 / 470 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1209, allocations: 4 kB / 470 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1211, allocations: 193.5 kB / 470.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1211, allocations: 0 / 470.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.1212, allocations: 7.984 kB / 470.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1212, allocations: 0 / 470.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1212, allocations: 0 / 470.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.1212, allocations: 0 / 470.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1212, allocations: 0 / 470.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.1213, allocations: 88.92 kB / 470.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.1214, allocations: 93 kB / 470.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1214, allocations: 4 kB / 470.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.225e-05/0.1214, allocations: 0 / 470.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.1215, allocations: 7.984 kB / 470.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.1215, allocations: 0 / 470.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1216, allocations: 164.2 kB / 470.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1216, allocations: 0 / 470.6 MB, free: 9.012 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001813/0.1218, allocations: 8 kB / 470.6 MB, free: 9.004 MB / 302.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 (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.000104/0.1219, allocations: 99.19 kB / 470.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.935e-05/0.122, allocations: 19.98 kB / 470.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.122, allocations: 0 / 470.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/0.1221, allocations: 19.92 kB / 470.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.1222, allocations: 11.89 kB / 470.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.1226, allocations: 244.8 kB / 471 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1229, allocations: 0.7004 MB / 471.7 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.123, allocations: 11.44 kB / 471.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.123, allocations: 0 / 471.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of Templates: time 0.002485/0.1255, allocations: 0.9214 MB / 472.6 MB, free: 6.91 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.makefile make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1CalcHelperMain.o OMCppHanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1CalcHelperMain.o] Error 1