Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water.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.SteadyStates.Examples.O2_in_water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water") translateModel(Physiolibrary.SteadyStates.Examples.O2_in_water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009681/0.0009684, allocations: 99.91 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.0009764/0.0009766, allocations: 175.4 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.721/1.721, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.09665/0.09665, allocations: 15.4 MB / 286.4 MB, free: 5.891 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.0005562/0.0005562, allocations: 16 kB / 348.3 MB, free: 18.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1172, allocations: 51.42 MB / 399.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.SteadyStates.Examples.O2_in_water): time 0.003617/0.1209, allocations: 2.323 MB / 402 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.1242, allocations: 1.907 MB / 404 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1243, allocations: 7.938 kB / 404 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.1244, allocations: 23.78 kB / 404 MB, free: 10.38 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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.Utilities.readReal‘ contains a call to impure function ‘Physiolibrary.SteadyStates.Examples.O2_in_water.oxygen_dissolved.Utilities.UnitConversions.findUnit‘. Notification: Performance of NFTyping.typeBindings: time 0.000695/0.1252, allocations: 199.1 kB / 404.2 MB, free: 10.19 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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.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.SteadyStates.Examples.O2_in_water.oxygen_dissolved.Utilities.writeComparison‘ contains a call to impure function ‘Modelica.Utilities.Files.createDirectory‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.1257, allocations: 231.5 kB / 404.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.126, allocations: 214.9 kB / 404.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1262, allocations: 64.39 kB / 404.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.1263, allocations: 67.67 kB / 404.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1264, allocations: 79.61 kB / 404.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1265, allocations: 4 kB / 404.8 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.542e-05/0.1265, allocations: 8 kB / 404.8 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.1265, allocations: 15.92 kB / 404.9 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.732e-05/0.1266, allocations: 61.58 kB / 404.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1268, allocations: 119.9 kB / 405 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1268, allocations: 0 / 405 MB, free: 9.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1268, allocations: 0 / 405 MB, free: 9.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1268, allocations: 11.94 kB / 405 MB, free: 9.324 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007305/0.1275, allocations: 458.5 kB / 405.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1276, allocations: 12.03 kB / 405.5 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.1276, allocations: 15.81 kB / 405.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1279, allocations: 242.4 kB / 405.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.128, allocations: 8 kB / 405.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.128, allocations: 20 kB / 405.8 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.1283, allocations: 118.1 kB / 405.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1283, allocations: 0 / 405.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.1283, allocations: 4 kB / 405.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1283, allocations: 4 kB / 405.9 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.1285, allocations: 99.94 kB / 406 MB, free: 8.27 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.0008903/0.1294, allocations: 0.5688 MB / 406.6 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.1297, allocations: 78.48 kB / 406.6 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.1298, allocations: 36.84 kB / 406.7 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1298, allocations: 8 kB / 406.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1298, allocations: 30.56 kB / 406.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.1298, allocations: 0 / 406.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001671/0.1315, allocations: 488.6 kB / 407.2 MB, free: 6.977 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.1316, allocations: 51.41 kB / 407.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.1318, allocations: 204 kB / 407.4 MB, free: 6.703 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.1318, allocations: 29.7 kB / 407.5 MB, free: 6.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.642e-05/0.1319, allocations: 147.9 kB / 407.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.132, allocations: 51.3 kB / 407.7 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.132, allocations: 4 kB / 407.7 MB, free: 6.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1322, allocations: 330.8 kB / 408 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.1323, allocations: 67.89 kB / 408.1 MB, free: 6.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.1326, allocations: 145.4 kB / 408.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.1327, allocations: 83.98 kB / 408.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1328, allocations: 4 kB / 408.3 MB, free: 5.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004596/0.1332, allocations: 257.2 kB / 408.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1333, allocations: 4 kB / 408.5 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.1333, allocations: 4.469 kB / 408.5 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1333, allocations: 7.984 kB / 408.6 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.1336, allocations: 84.12 kB / 408.6 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1336, allocations: 4 kB / 408.6 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.1338, allocations: 19.89 kB / 408.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1338, allocations: 12 kB / 408.7 MB, free: 5.414 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (24): * Single equations (assignments): 24 * 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 0.0001253/0.134, allocations: 137.8 kB / 408.8 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.134, allocations: 19.81 kB / 408.8 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.1345, allocations: 215 kB / 409 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1345, allocations: 4 kB / 409 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1345, allocations: 7.891 kB / 409.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1345, allocations: 0 / 409.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.1348, allocations: 265.5 kB / 409.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1348, allocations: 0 / 409.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.1351, allocations: 47.97 kB / 409.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1351, allocations: 4 kB / 409.4 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1351, allocations: 11.98 kB / 409.4 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1352, allocations: 4 kB / 409.4 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.1352, allocations: 3.984 kB / 409.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.1357, allocations: 287.2 kB / 409.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.1358, allocations: 108.8 kB / 409.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.1358, allocations: 0 / 409.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.136, allocations: 19.98 kB / 409.8 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.1361, allocations: 15.92 kB / 409.8 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.1361, allocations: 4 kB / 409.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1362, allocations: 145.8 kB / 409.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1362, allocations: 0 / 409.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000298/0.1365, allocations: 47.95 kB / 410 MB, free: 3.992 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 0.0001306/0.1367, allocations: 91.25 kB / 410.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004228/0.1371, allocations: 184.2 kB / 410.3 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1371, allocations: 0 / 410.3 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.1373, allocations: 80.83 kB / 410.3 MB, free: 3.637 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1377, allocations: 44.64 kB / 410.4 MB, free: 3.594 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.1385, allocations: 0.4962 MB / 410.9 MB, free: 3.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.1389, allocations: 0.7248 MB / 411.6 MB, free: 2.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.103e-05/0.139, allocations: 31.42 kB / 411.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of SimCode: time 2.565e-06/0.139, allocations: 0 / 411.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of Templates: time 0.004541/0.1435, allocations: 2.529 MB / 414.2 MB, free: 15.75 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water.makefile make -j1 -f Physiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_water.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.SteadyStates.Examples.O2_in_waterCalcHelperMain.o OMCppPhysiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_waterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhysiolibrary_Physiolibrary.SteadyStates.Examples.O2_in_waterCalcHelperMain.o] Error 1