Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.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.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.0009282, allocations: 96.67 kB / 17.58 MB, free: 5.801 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.0009911/0.0009914, allocations: 182 kB / 18.48 MB, free: 5.254 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.593/1.593, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004779/0.000478, allocations: 15.94 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 47.58 MB / 329 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.0005533/0.1016, allocations: 208.4 kB / 329.2 MB, free: 3.895 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002203/0.1018, allocations: 69.16 kB / 329.2 MB, free: 3.828 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.1018, allocations: 0 / 329.2 MB, free: 3.828 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.527e-05/0.1019, allocations: 0 / 329.2 MB, free: 3.828 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.882e-05/0.102, allocations: 19.91 kB / 329.3 MB, free: 3.809 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.1021, allocations: 12 kB / 329.3 MB, free: 3.797 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.328e-05/0.1022, allocations: 23.95 kB / 329.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.1022, allocations: 0 / 329.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.808e-05/0.1023, allocations: 11.94 kB / 329.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.1023, allocations: 23.95 kB / 329.3 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1024, allocations: 0 / 329.3 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.367e-05/0.1024, allocations: 4 kB / 329.3 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.1024, allocations: 8 kB / 329.3 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.1025, allocations: 29.64 kB / 329.4 MB, free: 3.691 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 7.105e-05/0.1025, allocations: 19.98 kB / 329.4 MB, free: 3.672 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1026, allocations: 4 kB / 329.4 MB, free: 3.668 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1026, allocations: 0 / 329.4 MB, free: 3.668 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1026, allocations: 0 / 329.4 MB, free: 3.668 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003356/0.1029, allocations: 349.3 kB / 329.7 MB, free: 3.273 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.103, allocations: 8.031 kB / 329.7 MB, free: 3.266 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.103, allocations: 8 kB / 329.7 MB, free: 3.258 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1031, allocations: 178.9 kB / 329.9 MB, free: 3.043 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1031, allocations: 0 / 329.9 MB, free: 3.043 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.1032, allocations: 4 kB / 329.9 MB, free: 3.039 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1033, allocations: 57.64 kB / 330 MB, free: 2.977 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.1033, allocations: 0 / 330 MB, free: 2.977 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.1033, allocations: 0 / 330 MB, free: 2.977 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1033, allocations: 0 / 330 MB, free: 2.977 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.038e-05/0.1034, allocations: 31.92 kB / 330 MB, free: 2.945 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.1035, allocations: 153.7 kB / 330.2 MB, free: 2.746 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.219e-05/0.1036, allocations: 50.61 kB / 330.2 MB, free: 2.688 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.1036, allocations: 36.92 kB / 330.2 MB, free: 2.648 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.301e-06/0.1036, allocations: 0 / 330.2 MB, free: 2.648 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/0.1037, allocations: 64.22 kB / 330.3 MB, free: 2.57 MB / 270.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1037, allocations: 3.938 kB / 330.3 MB, free: 2.566 MB / 270.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002864/0.104, allocations: 187.3 kB / 330.5 MB, free: 2.371 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1041, allocations: 81.09 kB / 330.6 MB, free: 2.273 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.1042, allocations: 117.9 kB / 330.7 MB, free: 2.148 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1042, allocations: 29.7 kB / 330.7 MB, free: 2.113 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.1042, allocations: 84.14 kB / 330.8 MB, free: 2.027 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.1043, allocations: 7.906 kB / 330.8 MB, free: 2.02 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/0.1043, allocations: 0 / 330.8 MB, free: 2.02 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1044, allocations: 310.8 kB / 331.1 MB, free: 1.707 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.909e-05/0.1044, allocations: 31.98 kB / 331.1 MB, free: 1.676 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.1045, allocations: 23.98 kB / 331.2 MB, free: 1.652 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/0.1045, allocations: 57.69 kB / 331.2 MB, free: 1.59 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1045, allocations: 7.969 kB / 331.2 MB, free: 1.582 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001582/0.1047, allocations: 155.2 kB / 331.4 MB, free: 1.418 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.1047, allocations: 37.69 kB / 331.4 MB, free: 1.375 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1048, allocations: 3.953 kB / 331.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.1048, allocations: 0 / 331.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.203e-06/0.1048, allocations: 0 / 331.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1048, allocations: 0 / 331.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.1048, allocations: 4 kB / 331.4 MB, free: 1.367 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1048, allocations: 0 / 331.4 MB, free: 1.367 MB / 270.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: 4 (success1,success2,success3,success4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001058/0.1049, allocations: 151.6 kB / 331.6 MB, free: 1.203 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.1049, allocations: 4 kB / 331.6 MB, free: 1.199 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.462e-05/0.105, allocations: 7.906 kB / 331.6 MB, free: 1.188 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.105, allocations: 3.953 kB / 331.6 MB, free: 1.184 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.105, allocations: 0 / 331.6 MB, free: 1.184 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.105, allocations: 0 / 331.6 MB, free: 1.184 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.1051, allocations: 165.6 kB / 331.8 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1051, allocations: 0 / 331.8 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-07/0.1051, allocations: 192 / 331.8 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.1051, allocations: 0 / 331.8 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1051, allocations: 0 / 331.8 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1051, allocations: 8 kB / 331.8 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.1051, allocations: 7.938 kB / 331.8 MB, free: 0.957 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.1054, allocations: 198.6 kB / 332 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.1054, allocations: 77.11 kB / 332 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1054, allocations: 7.938 kB / 332 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.1055, allocations: 0 / 332 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.1055, allocations: 3.953 kB / 332 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1055, allocations: 4.031 kB / 332.1 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.477e-05/0.1055, allocations: 95.52 kB / 332.1 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1055, allocations: 0 / 332.1 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0001816/0.1057, allocations: 12 kB / 332.2 MB, free: 0.5234 MB / 270.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: 4 (success1,success2,success3,success4) * Number of discrete states: 4 (success4,success3,success2,success1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000271/0.106, allocations: 133 kB / 332.3 MB, free: 404 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.1062, allocations: 127.4 kB / 332.4 MB, free: 264 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1062, allocations: 4.062 kB / 332.4 MB, free: 260 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.323e-05/0.1062, allocations: 99.33 kB / 332.5 MB, free: 148 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.1064, allocations: 7.984 kB / 332.5 MB, free: 140 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.1067, allocations: 168.3 kB / 332.7 MB, free: 15.94 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.1069, allocations: 0.6809 MB / 333.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.068e-05/0.1069, allocations: 7.438 kB / 333.4 MB, free: 15.22 MB / 286.1 MB Notification: Performance of SimCode: time 2.01e-07/0.107, allocations: 4.062 kB / 333.4 MB, free: 15.22 MB / 286.1 MB Notification: Performance of Templates: time 0.001872/0.1088, allocations: 0.6699 MB / 334 MB, free: 14.55 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFile.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 OMCppModelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFileCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFileCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Utilities.Examples.WriteRealMatrixToFileCalcHelperMain.o] Error 1