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.0008391/0.000839, allocations: 96.88 kB / 17.96 MB, free: 5.766 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.001064/0.001065, allocations: 179.3 kB / 18.86 MB, free: 4.906 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.727/1.727, allocations: 205.4 MB / 225 MB, free: 12.99 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.0004872/0.0004875, allocations: 16 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1123, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.WriteRealMatrixToFile): time 0.0006514/0.113, allocations: 220.4 kB / 329.8 MB, free: 3.547 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003022/0.1133, allocations: 65.2 kB / 329.9 MB, free: 3.484 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.1134, allocations: 0 / 329.9 MB, free: 3.484 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.1134, allocations: 0 / 329.9 MB, free: 3.484 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.1135, allocations: 15.97 kB / 329.9 MB, free: 3.469 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.1136, allocations: 15.98 kB / 329.9 MB, free: 3.453 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.421e-05/0.1137, allocations: 19.92 kB / 329.9 MB, free: 3.434 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.1138, allocations: 0 / 329.9 MB, free: 3.434 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.1138, allocations: 15.98 kB / 329.9 MB, free: 3.418 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.1139, allocations: 23.97 kB / 330 MB, free: 3.395 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.114, allocations: 0 / 330 MB, free: 3.395 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.014e-05/0.114, allocations: 12 kB / 330 MB, free: 3.383 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1141, allocations: 7.922 kB / 330 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.78e-05/0.1141, allocations: 41.58 kB / 330 MB, free: 3.328 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 8.766e-05/0.1142, allocations: 19.97 kB / 330 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1142, allocations: 0 / 330 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1142, allocations: 0 / 330 MB, free: 3.309 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1142, allocations: 3.938 kB / 330 MB, free: 3.305 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.0003607/0.1146, allocations: 357.5 kB / 330.4 MB, free: 2.898 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1147, allocations: 12.03 kB / 330.4 MB, free: 2.887 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.1147, allocations: 4.938 kB / 330.4 MB, free: 2.883 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1148, allocations: 168.2 kB / 330.6 MB, free: 2.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1149, allocations: 384 / 330.6 MB, free: 2.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.1149, allocations: 4.375 kB / 330.6 MB, free: 2.676 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.115, allocations: 58.23 kB / 330.6 MB, free: 2.613 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.115, allocations: 192 / 330.6 MB, free: 2.613 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.115, allocations: 3.938 kB / 330.6 MB, free: 2.609 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1151, allocations: 0 / 330.6 MB, free: 2.609 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.476e-05/0.1151, allocations: 35.92 kB / 330.7 MB, free: 2.574 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.1153, allocations: 157.7 kB / 330.8 MB, free: 2.371 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.1154, allocations: 42.56 kB / 330.9 MB, free: 2.32 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.1154, allocations: 36.92 kB / 330.9 MB, free: 2.281 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.1154, allocations: 0 / 330.9 MB, free: 2.281 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.1155, allocations: 64.27 kB / 331 MB, free: 2.203 MB / 270.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1155, allocations: 3.938 kB / 331 MB, free: 2.199 MB / 270.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003/0.1158, allocations: 191.2 kB / 331.2 MB, free: 2 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1159, allocations: 81.11 kB / 331.2 MB, free: 1.902 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.116, allocations: 113.8 kB / 331.4 MB, free: 1.781 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.116, allocations: 29.7 kB / 331.4 MB, free: 1.746 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.116, allocations: 84.12 kB / 331.5 MB, free: 1.66 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.1161, allocations: 7.906 kB / 331.5 MB, free: 1.652 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.1161, allocations: 13.72 kB / 331.5 MB, free: 1.633 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1162, allocations: 314.8 kB / 331.8 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.775e-05/0.1163, allocations: 28.02 kB / 331.8 MB, free: 1.289 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.1163, allocations: 27.98 kB / 331.8 MB, free: 1.262 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.653e-05/0.1164, allocations: 124.4 kB / 332 MB, free: 1.125 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1164, allocations: 0 / 332 MB, free: 1.125 MB / 270.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001606/0.1166, allocations: 151.3 kB / 332.1 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.1166, allocations: 37.69 kB / 332.2 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1166, allocations: 3.938 kB / 332.2 MB, free: 0.918 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1166, allocations: 0 / 332.2 MB, free: 0.918 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.1167, allocations: 0 / 332.2 MB, free: 0.918 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1167, allocations: 0 / 332.2 MB, free: 0.918 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.1167, allocations: 12.06 kB / 332.2 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1167, allocations: 0 / 332.2 MB, free: 0.9062 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 9.671e-05/0.1168, allocations: 143.5 kB / 332.3 MB, free: 0.75 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.1168, allocations: 7.906 kB / 332.3 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.797e-05/0.1169, allocations: 7.844 kB / 332.3 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1169, allocations: 0 / 332.3 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1169, allocations: 7.938 kB / 332.3 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.1169, allocations: 0 / 332.3 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.117, allocations: 161.6 kB / 332.5 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.117, allocations: 0 / 332.5 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-07/0.117, allocations: 8 kB / 332.5 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.117, allocations: 0 / 332.5 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.117, allocations: 3.938 kB / 332.5 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.117, allocations: 0 / 332.5 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.117, allocations: 4 kB / 332.5 MB, free: 0.5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.1172, allocations: 194.7 kB / 332.7 MB, free: 292 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.1173, allocations: 81.02 kB / 332.8 MB, free: 192 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1173, allocations: 11.88 kB / 332.8 MB, free: 180 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.267e-05/0.1173, allocations: 4.031 kB / 332.8 MB, free: 176 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.1173, allocations: 0 / 332.8 MB, free: 176 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.1174, allocations: 8.25 kB / 332.8 MB, free: 168 kB / 270.1 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.1174, allocations: 91.27 kB / 332.9 MB, free: 76 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1174, allocations: 0 / 332.9 MB, free: 76 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.1176, allocations: 8 kB / 332.9 MB, free: 68 kB / 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.0003174/0.1179, allocations: 133.4 kB / 333 MB, free: 15.94 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1181, allocations: 123.4 kB / 333.1 MB, free: 15.8 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1181, allocations: 0 / 333.1 MB, free: 15.8 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.76e-05/0.1182, allocations: 99.33 kB / 333.2 MB, free: 15.7 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.1183, allocations: 4 kB / 333.2 MB, free: 15.69 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.1186, allocations: 172.4 kB / 333.4 MB, free: 15.49 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1189, allocations: 0.6888 MB / 334.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.102e-05/0.1189, allocations: 7.438 kB / 334.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1189, allocations: 0 / 334.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of Templates: time 0.002127/0.121, allocations: 0.6623 MB / 334.8 MB, free: 14.11 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