Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo", uses=false) Using package Physiolibrary with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo) 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(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009188/0.0009193, allocations: 99.36 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 179.2 kB / 16.58 MB, free: 6.422 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.687/1.687, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:1238:16-1238:88:writable] Warning: The file was not encoded in UTF-8: "

[1] Matej?k M, Kulh?nek T, Matouaek S. Adair-Based Hemoglobin...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:1632:61-1632:133:writable] Warning: The file was not encoded in UTF-8: "

Before silumation in "Dymola 2014 FD01" please set e...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo): time 0.09992/0.09992, allocations: 15.4 MB / 286.4 MB, free: 5.902 MB / 238.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: Physiolibrary requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005529/0.0005529, allocations: 12 kB / 348.3 MB, free: 18.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1162, allocations: 51.4 MB / 399.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.MuscleHeat): time 0.002531/0.1188, allocations: 1.857 MB / 401.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.1219, allocations: 1.833 MB / 403.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.122, allocations: 3.938 kB / 403.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1221, allocations: 15.92 kB / 403.4 MB, free: 10.93 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Types.mo:6137:6-6153:18:writable] Warning: Pure function ‘Physiolibrary.Thermal.Examples.MuscleHeat.muscle.Utilities.UnitConversions.findUnit‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Types.mo:5568:15-5660:17:writable] Warning: Pure function ‘Physiolibrary.Thermal.Examples.MuscleHeat.muscle.Utilities.readReal‘ contains a call to impure function ‘Physiolibrary.Thermal.Examples.MuscleHeat.muscle.Utilities.UnitConversions.findUnit‘. Notification: Performance of NFTyping.typeBindings: time 0.0006697/0.1228, allocations: 179.2 kB / 403.6 MB, free: 10.76 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Types.mo:5714:15-5735:18:writable] Warning: Pure function ‘Physiolibrary.Thermal.Examples.MuscleHeat.muscle.Utilities.writeReal‘ contains a call to impure function ‘Modelica.Utilities.Files.createDirectory‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Types.mo:5776:15-5812:24:writable] Warning: Pure function ‘Physiolibrary.Thermal.Examples.MuscleHeat.muscle.Utilities.writeComparison‘ contains a call to impure function ‘Modelica.Utilities.Files.createDirectory‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004837/0.1233, allocations: 215.5 kB / 403.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1235, allocations: 131.3 kB / 403.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1236, allocations: 37.08 kB / 404 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.1237, allocations: 35.86 kB / 404 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.431e-05/0.1238, allocations: 43.78 kB / 404.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1238, allocations: 4 kB / 404.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.279e-05/0.1239, allocations: 8 kB / 404.1 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.402e-05/0.1239, allocations: 15.86 kB / 404.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.1239, allocations: 49.64 kB / 404.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1241, allocations: 80.08 kB / 404.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1241, allocations: 0 / 404.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1241, allocations: 0 / 404.2 MB, free: 10.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1241, allocations: 4 kB / 404.2 MB, free: 10.14 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005963/0.1247, allocations: 414.8 kB / 404.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1248, allocations: 11.97 kB / 404.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1248, allocations: 15.81 kB / 404.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1251, allocations: 215.4 kB / 404.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1251, allocations: 4 kB / 404.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.1251, allocations: 8 kB / 404.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1253, allocations: 80.8 kB / 404.9 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1253, allocations: 3.906 kB / 405 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.1253, allocations: 7.938 kB / 405 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1253, allocations: 4 kB / 405 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.789e-05/0.1254, allocations: 35.98 kB / 405 MB, free: 9.266 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.1262, allocations: 0.4992 MB / 405.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1263, allocations: 66.44 kB / 405.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.1264, allocations: 24.98 kB / 405.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1264, allocations: 0 / 405.6 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1264, allocations: 34.56 kB / 405.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.1264, allocations: 4 kB / 405.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002119/0.1266, allocations: 81.66 kB / 405.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.1267, allocations: 55.41 kB / 405.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1269, allocations: 170.3 kB / 405.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1269, allocations: 25.7 kB / 406 MB, free: 8.184 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.127, allocations: 112 kB / 406.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.127, allocations: 11.75 kB / 406.1 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.127, allocations: 8 kB / 406.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1272, allocations: 322.8 kB / 406.4 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.1272, allocations: 15.98 kB / 406.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.1273, allocations: 29.72 kB / 406.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.1273, allocations: 16 kB / 406.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1274, allocations: 0 / 406.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000133/0.1275, allocations: 89.47 kB / 406.5 MB, free: 7.566 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1275, allocations: 4 kB / 406.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1275, allocations: 0 / 406.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1275, allocations: 8.281 kB / 406.6 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.1276, allocations: 15.98 kB / 406.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1277, allocations: 8 kB / 406.6 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.1277, allocations: 7.844 kB / 406.6 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1277, allocations: 4 kB / 406.6 MB, free: 7.52 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.601e-05/0.1278, allocations: 113.8 kB / 406.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.1278, allocations: 11.86 kB / 406.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.618e-05/0.1279, allocations: 20.98 kB / 406.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1279, allocations: 4 kB / 406.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1279, allocations: 3.938 kB / 406.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.1279, allocations: 0 / 406.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.1282, allocations: 213.4 kB / 406.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1282, allocations: 0 / 406.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/0.1283, allocations: 8 kB / 407 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1283, allocations: 3.984 kB / 407 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1283, allocations: 3.953 kB / 407 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1283, allocations: 0 / 407 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1283, allocations: 0 / 407 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.1285, allocations: 187.5 kB / 407.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.1286, allocations: 92.94 kB / 407.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.1286, allocations: 0 / 407.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.1287, allocations: 3.953 kB / 407.2 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.1287, allocations: 8 kB / 407.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1287, allocations: 3.938 kB / 407.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1288, allocations: 128.3 kB / 407.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1288, allocations: 0 / 407.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1291, allocations: 20.06 kB / 407.4 MB, free: 6.613 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (muscle.state) * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 9.357e-05/0.1292, allocations: 99.23 kB / 407.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.1293, allocations: 32 kB / 407.5 MB, free: 6.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1293, allocations: 0 / 407.5 MB, free: 6.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.1294, allocations: 27.92 kB / 407.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.1297, allocations: 23.98 kB / 407.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.1303, allocations: 325.6 kB / 407.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1306, allocations: 0.7043 MB / 408.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.1307, allocations: 19.42 kB / 408.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of SimCode: time 2.094e-06/0.1307, allocations: 0 / 408.6 MB, free: 5.328 MB / 302.1 MB Notification: Performance of Templates: time 0.003275/0.134, allocations: 1.449 MB / 410.1 MB, free: 3.875 MB / 302.1 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.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 OMCppPhysiolibrary_Physiolibrary.Thermal.Examples.MuscleHeatCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.Thermal.Examples.MuscleHeatCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhysiolibrary_Physiolibrary.Thermal.Examples.MuscleHeatCalcHelperMain.o] Error 1