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.001147/0.001147, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001349/0.001349, allocations: 197.9 kB / 18.73 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.717/1.717, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.00123/0.00123, allocations: 51.94 kB / 280.6 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1231, allocations: 46.62 MB / 327.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.001956/0.1251, allocations: 0.5424 MB / 327.8 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003649/0.1255, allocations: 61.25 kB / 327.8 MB, free: 4.305 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.1255, allocations: 0 / 327.8 MB, free: 4.305 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.469e-05/0.1256, allocations: 3.938 kB / 327.8 MB, free: 4.301 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.253e-05/0.1257, allocations: 15.98 kB / 327.9 MB, free: 4.285 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.1259, allocations: 23.97 kB / 327.9 MB, free: 4.262 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.126, allocations: 11.98 kB / 327.9 MB, free: 4.25 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.125e-05/0.126, allocations: 4 kB / 327.9 MB, free: 4.246 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.1261, allocations: 11.98 kB / 327.9 MB, free: 4.234 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/0.1262, allocations: 27.91 kB / 327.9 MB, free: 4.207 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1262, allocations: 0 / 327.9 MB, free: 4.207 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.1263, allocations: 12 kB / 327.9 MB, free: 4.195 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.1263, allocations: 0 / 327.9 MB, free: 4.195 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.1263, allocations: 7.938 kB / 328 MB, free: 4.188 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 9.444e-05/0.1264, allocations: 23.97 kB / 328 MB, free: 4.164 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1265, allocations: 4 kB / 328 MB, free: 4.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1265, allocations: 0 / 328 MB, free: 4.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1265, allocations: 0 / 328 MB, free: 4.16 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.000451/0.1269, allocations: 369.4 kB / 328.3 MB, free: 3.742 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.127, allocations: 11.97 kB / 328.4 MB, free: 3.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.127, allocations: 12.84 kB / 328.4 MB, free: 3.719 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1273, allocations: 168.3 kB / 328.5 MB, free: 3.516 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1273, allocations: 384 / 328.5 MB, free: 3.516 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.1273, allocations: 8.359 kB / 328.5 MB, free: 3.508 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1275, allocations: 62.23 kB / 328.6 MB, free: 3.441 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1275, allocations: 192 / 328.6 MB, free: 3.441 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1276, allocations: 3.938 kB / 328.6 MB, free: 3.438 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1276, allocations: 4 kB / 328.6 MB, free: 3.434 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.632e-05/0.1276, allocations: 27.98 kB / 328.6 MB, free: 3.406 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.1278, allocations: 153.7 kB / 328.8 MB, free: 3.207 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.1279, allocations: 46.5 kB / 328.8 MB, free: 3.152 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.128, allocations: 32.89 kB / 328.9 MB, free: 3.117 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.128, allocations: 4.047 kB / 328.9 MB, free: 3.113 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.128, allocations: 64.25 kB / 328.9 MB, free: 3.035 MB / 270.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.128, allocations: 0 / 328.9 MB, free: 3.035 MB / 270.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003457/0.1284, allocations: 191.1 kB / 329.1 MB, free: 2.836 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.1285, allocations: 81.11 kB / 329.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1286, allocations: 109.8 kB / 329.3 MB, free: 2.621 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1286, allocations: 25.7 kB / 329.3 MB, free: 2.59 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.1287, allocations: 88.17 kB / 329.4 MB, free: 2.5 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.1287, allocations: 7.906 kB / 329.4 MB, free: 2.492 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.1287, allocations: 21.7 kB / 329.4 MB, free: 2.465 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1289, allocations: 314.8 kB / 329.7 MB, free: 2.148 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-05/0.1289, allocations: 23.98 kB / 329.8 MB, free: 2.125 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.129, allocations: 31.98 kB / 329.8 MB, free: 2.094 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.1291, allocations: 116.2 kB / 329.9 MB, free: 1.965 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1291, allocations: 0 / 329.9 MB, free: 1.965 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001646/0.1293, allocations: 151.3 kB / 330.1 MB, free: 1.805 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.1293, allocations: 41.77 kB / 330.1 MB, free: 1.758 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1293, allocations: 3.938 kB / 330.1 MB, free: 1.754 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1293, allocations: 0 / 330.1 MB, free: 1.754 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.1294, allocations: 0 / 330.1 MB, free: 1.754 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1294, allocations: 3.984 kB / 330.1 MB, free: 1.75 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.933e-05/0.1294, allocations: 4 kB / 330.1 MB, free: 1.746 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1294, allocations: 0 / 330.1 MB, free: 1.746 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 (success4,success3,success2,success1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.1295, allocations: 143.5 kB / 330.3 MB, free: 1.59 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.1295, allocations: 11.89 kB / 330.3 MB, free: 1.578 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.1296, allocations: 15.78 kB / 330.3 MB, free: 1.559 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.1296, allocations: 0 / 330.3 MB, free: 1.559 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1296, allocations: 4 kB / 330.3 MB, free: 1.555 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1296, allocations: 0 / 330.3 MB, free: 1.555 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.1297, allocations: 161.8 kB / 330.4 MB, free: 1.348 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.1297, allocations: 4 kB / 330.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1297, allocations: 4.188 kB / 330.5 MB, free: 1.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.1297, allocations: 0 / 330.5 MB, free: 1.34 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1298, allocations: 7.922 kB / 330.5 MB, free: 1.332 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.1298, allocations: 0 / 330.5 MB, free: 1.332 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1298, allocations: 3.984 kB / 330.5 MB, free: 1.328 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.13, allocations: 198.7 kB / 330.7 MB, free: 1.109 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.1301, allocations: 85 kB / 330.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.1301, allocations: 7.938 kB / 330.7 MB, free: 1 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099e-05/0.1301, allocations: 0 / 330.7 MB, free: 1 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.1301, allocations: 4 kB / 330.8 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1301, allocations: 4 kB / 330.8 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.596e-05/0.1302, allocations: 87.27 kB / 330.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1302, allocations: 4.031 kB / 330.8 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.1304, allocations: 8 kB / 330.9 MB, free: 0.8945 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 (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.0003762/0.1308, allocations: 118.4 kB / 331 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.131, allocations: 127.4 kB / 331.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.131, allocations: 0 / 331.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.1311, allocations: 99.45 kB / 331.2 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.1313, allocations: 7.938 kB / 331.2 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.1316, allocations: 172.4 kB / 331.4 MB, free: 328 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1319, allocations: 0.6809 MB / 332 MB, free: 15.61 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.193e-05/0.132, allocations: 7.438 kB / 332.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of SimCode: time 5.81e-07/0.132, allocations: 3.938 kB / 332.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of Templates: time 0.002698/0.1347, allocations: 0.6741 MB / 332.7 MB, free: 14.93 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++ -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.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