Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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 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_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile") translateModel(Modelica.Utilities.Examples.WriteRealMatrixToFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|success1|success2|success3|success4",fileNamePrefix="Modelica_4.0.0_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.001017/0.001017, allocations: 92.14 kB / 16.95 MB, free: 6.004 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.001152/0.001152, allocations: 180.6 kB / 17.84 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 241.8 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002286/0.0002286, allocations: 9.453 kB / 301.4 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09157/0.09181, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.0004857/0.09233, allocations: 214 kB / 352.1 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00018/0.09252, allocations: 47.89 kB / 352.1 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.09255, allocations: 0 / 352.1 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.09259, allocations: 3.938 kB / 352.1 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.09265, allocations: 11.98 kB / 352.1 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.09277, allocations: 23.97 kB / 352.2 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.143e-05/0.09282, allocations: 11.98 kB / 352.2 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.09287, allocations: 4 kB / 352.2 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.504e-05/0.0929, allocations: 15.92 kB / 352.2 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/0.09297, allocations: 23.91 kB / 352.2 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.09299, allocations: 8 kB / 352.2 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.836e-05/0.09304, allocations: 4 kB / 352.2 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.09307, allocations: 4 kB / 352.2 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.0931, allocations: 29.64 kB / 352.2 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.047e-05/0.09317, allocations: 19.97 kB / 352.3 MB, free: 3.602 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.09318, allocations: 0 / 352.3 MB, free: 3.602 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09318, allocations: 0 / 352.3 MB, free: 3.602 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.09319, allocations: 4 kB / 352.3 MB, free: 3.598 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002789/0.09348, allocations: 349 kB / 352.6 MB, free: 3.203 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.09352, allocations: 16.02 kB / 352.6 MB, free: 3.188 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.09355, allocations: 7.953 kB / 352.6 MB, free: 3.18 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/0.09365, allocations: 171.2 kB / 352.8 MB, free: 2.973 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.09367, allocations: 0 / 352.8 MB, free: 2.973 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.09369, allocations: 7.938 kB / 352.8 MB, free: 2.965 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.0938, allocations: 61.67 kB / 352.9 MB, free: 2.898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.09381, allocations: 3.984 kB / 352.9 MB, free: 2.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.09382, allocations: 0 / 352.9 MB, free: 2.895 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.09383, allocations: 0 / 352.9 MB, free: 2.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.09387, allocations: 35.88 kB / 352.9 MB, free: 2.859 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.09401, allocations: 157.7 kB / 353.1 MB, free: 2.656 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.461e-05/0.09407, allocations: 46.61 kB / 353.1 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.09411, allocations: 32.89 kB / 353.1 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-06/0.09412, allocations: 0 / 353.1 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.09417, allocations: 60.25 kB / 353.2 MB, free: 2.492 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.09417, allocations: 4 kB / 353.2 MB, free: 2.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002301/0.09441, allocations: 183.3 kB / 353.4 MB, free: 2.297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.09447, allocations: 81.14 kB / 353.5 MB, free: 2.199 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.09455, allocations: 113.8 kB / 353.6 MB, free: 2.078 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.09457, allocations: 25.7 kB / 353.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.09461, allocations: 88.14 kB / 353.7 MB, free: 1.957 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.09463, allocations: 3.906 kB / 353.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.09464, allocations: 0 / 353.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.09474, allocations: 322.8 kB / 354 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.09477, allocations: 23.98 kB / 354 MB, free: 1.605 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.0948, allocations: 35.98 kB / 354.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.056e-05/0.09486, allocations: 49.7 kB / 354.1 MB, free: 1.516 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.09486, allocations: 0 / 354.1 MB, free: 1.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001407/0.09501, allocations: 163.2 kB / 354.3 MB, free: 1.344 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.09505, allocations: 33.7 kB / 354.3 MB, free: 1.305 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.09506, allocations: 0 / 354.3 MB, free: 1.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.09507, allocations: 3.938 kB / 354.3 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.09508, allocations: 0 / 354.3 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.09509, allocations: 0 / 354.3 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.09511, allocations: 4 kB / 354.3 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.09512, allocations: 8.016 kB / 354.3 MB, free: 1.289 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: 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 8.347e-05/0.09521, allocations: 147.8 kB / 354.5 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.09523, allocations: 4 kB / 354.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.499e-05/0.09525, allocations: 7.906 kB / 354.5 MB, free: 1.109 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.09525, allocations: 3.984 kB / 354.5 MB, free: 1.105 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.09526, allocations: 7.938 kB / 354.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.09527, allocations: 0 / 354.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.452e-05/0.09537, allocations: 161.5 kB / 354.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.09537, allocations: 0 / 354.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-06/0.09538, allocations: 4 kB / 354.6 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.09539, allocations: 4 kB / 354.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.0954, allocations: 0 / 354.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.0954, allocations: 0 / 354.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.09541, allocations: 0 / 354.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.09559, allocations: 202.7 kB / 354.9 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.09564, allocations: 81.23 kB / 354.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.09566, allocations: 0 / 354.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.09568, allocations: 4 kB / 354.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.0957, allocations: 12 kB / 354.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.09571, allocations: 4 kB / 355 MB, free: 0.543 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.973e-05/0.09575, allocations: 87.28 kB / 355 MB, free: 468 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09576, allocations: 0 / 355 MB, free: 468 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001728/0.09593, allocations: 11.98 kB / 355 MB, free: 456 kB / 286.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.0002333/0.09617, allocations: 129 kB / 355.2 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.0963, allocations: 123.4 kB / 355.3 MB, free: 196 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.09631, allocations: 0 / 355.3 MB, free: 196 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.758e-05/0.09638, allocations: 99.38 kB / 355.4 MB, free: 84 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.09651, allocations: 11.89 kB / 355.4 MB, free: 72 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.09675, allocations: 176.3 kB / 355.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.09698, allocations: 0.6849 MB / 356.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-06/0.097, allocations: 7.438 kB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.09701, allocations: 4 kB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of Templates: time 0.001676/0.0987, allocations: 0.6632 MB / 356.9 MB, free: 14.49 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFile.makefile make -j1 -f Modelica_4.0.0_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFileCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFileCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Utilities.Examples.WriteRealMatrixToFileCalcHelperMain.o] Error 1