Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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) 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(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009658/0.0009655, allocations: 94.36 kB / 17.95 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 173.7 kB / 18.86 MB, free: 4.77 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.748/1.748, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.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: Performance of FrontEnd - loaded program: time 0.0004669/0.000467, allocations: 8 kB / 282 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1047, allocations: 47.59 MB / 329.6 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0007739/0.1055, allocations: 260.3 kB / 329.9 MB, free: 3.523 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.1079, allocations: 1.807 MB / 331.7 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.1079, allocations: 0 / 331.7 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.1096, allocations: 124.3 kB / 331.8 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.773e-05/0.1097, allocations: 35.84 kB / 331.8 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.1099, allocations: 47.94 kB / 331.9 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.081e-05/0.11, allocations: 43.91 kB / 331.9 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.11, allocations: 4 kB / 331.9 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.1101, allocations: 27.8 kB / 331.9 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1102, allocations: 31.84 kB / 332 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.1103, allocations: 4 kB / 332 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.564e-05/0.1103, allocations: 15.98 kB / 332 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.1104, allocations: 47.95 kB / 332 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.1105, allocations: 49.5 kB / 332.1 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.1106, allocations: 43.94 kB / 332.1 MB, free: 1.234 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1106, allocations: 0 / 332.1 MB, free: 1.234 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1106, allocations: 7.938 kB / 332.1 MB, free: 1.227 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1106, allocations: 0 / 332.1 MB, free: 1.227 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004539/0.1111, allocations: 389.2 kB / 332.5 MB, free: 0.793 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1111, allocations: 8.031 kB / 332.5 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.1112, allocations: 8.844 kB / 332.5 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.1116, allocations: 312.1 kB / 332.8 MB, free: 444 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.1117, allocations: 384 / 332.8 MB, free: 444 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.1117, allocations: 384 / 332.8 MB, free: 444 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1118, allocations: 82.3 kB / 332.9 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.1118, allocations: 0 / 332.9 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.1119, allocations: 3.984 kB / 332.9 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.1119, allocations: 4 kB / 332.9 MB, free: 332 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.767e-05/0.1119, allocations: 3.938 kB / 332.9 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.1122, allocations: 177.6 kB / 333.1 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.208e-05/0.1123, allocations: 22.58 kB / 333.1 MB, free: 68 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.1123, allocations: 12.91 kB / 333.1 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1123, allocations: 0 / 333.1 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/0.1124, allocations: 60.2 kB / 333.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1124, allocations: 0 / 333.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001352/0.1125, allocations: 45.64 kB / 333.2 MB, free: 15.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.1126, allocations: 158.3 kB / 333.4 MB, free: 15.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1128, allocations: 169.1 kB / 333.6 MB, free: 15.56 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1128, allocations: 29.7 kB / 333.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.1129, allocations: 92.14 kB / 333.7 MB, free: 15.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.1129, allocations: 7.844 kB / 333.7 MB, free: 15.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.1129, allocations: 9.719 kB / 333.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1131, allocations: 318.8 kB / 334 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.1131, allocations: 4 kB / 334 MB, free: 15.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-05/0.1132, allocations: 52.22 kB / 334.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.1132, allocations: 12.8 kB / 334.1 MB, free: 15 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1132, allocations: 4 kB / 334.1 MB, free: 15 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.152e-05/0.1133, allocations: 53.53 kB / 334.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1133, allocations: 4 kB / 334.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1133, allocations: 0 / 334.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1133, allocations: 7.938 kB / 334.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.728e-05/0.1134, allocations: 8.094 kB / 334.1 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1134, allocations: 0 / 334.1 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-05/0.1135, allocations: 4 kB / 334.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.1135, allocations: 0 / 334.2 MB, free: 14.92 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 (2): * Single equations (assignments): 2 * 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.0001078/0.1136, allocations: 129.8 kB / 334.3 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.1136, allocations: 11.89 kB / 334.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.1136, allocations: 15.8 kB / 334.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1136, allocations: 0 / 334.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1137, allocations: 4 kB / 334.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1137, allocations: 4 kB / 334.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.1139, allocations: 169.7 kB / 334.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1139, allocations: 0 / 334.5 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.1139, allocations: 11.88 kB / 334.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1139, allocations: 0 / 334.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1139, allocations: 0 / 334.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1139, allocations: 0 / 334.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.114, allocations: 0 / 334.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.1141, allocations: 77.03 kB / 334.6 MB, free: 14.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.1142, allocations: 93.06 kB / 334.7 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.1142, allocations: 3.984 kB / 334.7 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.1142, allocations: 0 / 334.7 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.1143, allocations: 4 kB / 334.7 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.1143, allocations: 0 / 334.7 MB, free: 14.31 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1144, allocations: 135.2 kB / 334.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1144, allocations: 0 / 334.8 MB, free: 14.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002049/0.1146, allocations: 16 kB / 334.8 MB, free: 14.16 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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.0003672/0.115, allocations: 167.7 kB / 335 MB, free: 13.99 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.203e-05/0.1151, allocations: 19.94 kB / 335 MB, free: 13.97 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1151, allocations: 4 kB / 335 MB, free: 13.97 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.1151, allocations: 7.984 kB / 335 MB, free: 13.96 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.1153, allocations: 7.938 kB / 335 MB, free: 13.95 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.1156, allocations: 190.4 kB / 335.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.1159, allocations: 0.6928 MB / 335.9 MB, free: 13.01 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.1159, allocations: 11.44 kB / 335.9 MB, free: 13 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.116, allocations: 0 / 335.9 MB, free: 13 MB / 286.1 MB Notification: Performance of Templates: time 0.003695/0.1197, allocations: 1.463 MB / 337.4 MB, free: 11.54 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFileCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFileCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFileCalcHelperMain.o] Error 1