Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_blood.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) 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(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009825/0.0009822, allocations: 100.1 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.001495/0.001495, allocations: 176.4 kB / 16.58 MB, free: 6.422 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.572/1.572, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3331/0.3331, allocations: 15.26 MB / 307 MB, free: 15.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.000342, allocations: 8 kB / 372.1 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4232, allocations: 54.63 MB / 426.7 MB, free: 40.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_blood): time 0.0072/0.4305, allocations: 7.057 MB / 433.8 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01983/0.4504, allocations: 19.87 MB / 453.6 MB, free: 23.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.4521, allocations: 28.66 kB / 453.7 MB, free: 23.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.4533, allocations: 410.5 kB / 454.1 MB, free: 23.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005591/0.4589, allocations: 1.478 MB / 455.5 MB, free: 22.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008637/0.4676, allocations: 2.268 MB / 457.8 MB, free: 21.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003321/0.4709, allocations: 1.657 MB / 459.5 MB, free: 20.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.4727, allocations: 0.7181 MB / 460.2 MB, free: 20.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.4745, allocations: 0.6775 MB / 460.9 MB, free: 20.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001938/0.4764, allocations: 0.8531 MB / 461.7 MB, free: 19.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005236/0.4769, allocations: 84.84 kB / 461.8 MB, free: 19.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009318/0.4863, allocations: 2.129 MB / 463.9 MB, free: 19.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008487/0.4872, allocations: 276.3 kB / 464.2 MB, free: 19.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.4884, allocations: 284.5 kB / 464.5 MB, free: 18.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007596/0.4961, allocations: 3.069 MB / 467.5 MB, free: 17.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.4961, allocations: 0 / 467.5 MB, free: 17.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.621e-06/0.4961, allocations: 0.5625 kB / 467.5 MB, free: 17.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001239/0.4963, allocations: 4.844 kB / 467.5 MB, free: 17.7 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.007299/0.5036, allocations: 1.756 MB / 469.3 MB, free: 16.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/0.5037, allocations: 9.5 kB / 469.3 MB, free: 16.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.5064, allocations: 377.8 kB / 469.7 MB, free: 16.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.5091, allocations: 0.6887 MB / 470.4 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.5093, allocations: 91.91 kB / 470.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006784/0.51, allocations: 131.1 kB / 470.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005335/0.5153, allocations: 1.753 MB / 472.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.928e-05/0.5154, allocations: 3.938 kB / 472.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/0.5157, allocations: 54.89 kB / 472.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-05/0.5157, allocations: 30.25 kB / 472.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005591/0.5213, allocations: 2.473 MB / 474.9 MB, free: 14.37 MB / 350.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.01015/0.5315, allocations: 5.051 MB / 480 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003985/0.5355, allocations: 2.235 MB / 482.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009569/0.5365, allocations: 0.5538 MB / 482.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008189/0.5447, allocations: 5.19 MB / 487.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.5448, allocations: 38.72 kB / 488 MB, free: 6.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.156e-06/0.5448, allocations: 0 / 488 MB, free: 6.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.01554/0.5603, allocations: 3.422 MB / 491.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.5604, allocations: 60.41 kB / 491.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.5619, allocations: 1.288 MB / 492.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.5619, allocations: 37.7 kB / 492.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.5623, allocations: 0.6804 MB / 493.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.5625, allocations: 319.5 kB / 493.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.5626, allocations: 28 kB / 493.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5627, allocations: 426.7 kB / 494.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.5634, allocations: 0.4998 MB / 494.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009829/0.5644, allocations: 0.9924 MB / 495.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.5654, allocations: 0.6315 MB / 496.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.5654, allocations: 4 kB / 496.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004888/0.5703, allocations: 1.912 MB / 498.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.5704, allocations: 16.03 kB / 498.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-05/0.5704, allocations: 16 kB / 498.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.5725, allocations: 265.4 kB / 498.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.5737, allocations: 351.5 kB / 498.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005915/0.5796, allocations: 3.514 MB / 0.4906 GB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.5811, allocations: 83.95 kB / 0.4907 GB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.5812, allocations: 79.98 kB / 0.4908 GB, free: 8.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (179): * Single equations (assignments): 177 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006454/0.5819, allocations: 285.3 kB / 0.4911 GB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.5821, allocations: 114.6 kB / 0.4912 GB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/0.5861, allocations: 1.265 MB / 0.4924 GB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.5861, allocations: 8 kB / 0.4924 GB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5861, allocations: 0 / 0.4924 GB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.5862, allocations: 3.984 kB / 0.4924 GB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.5881, allocations: 1.113 MB / 0.4935 GB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.5881, allocations: 4.125 kB / 0.4935 GB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/0.5888, allocations: 175.8 kB / 0.4937 GB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/0.5907, allocations: 245.4 kB / 0.4939 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/0.5908, allocations: 31.98 kB / 0.4939 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004993/0.5958, allocations: 3.41 MB / 0.4973 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5958, allocations: 3.938 kB / 0.4973 GB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004283/0.6001, allocations: 1.595 MB / 0.4988 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006526/0.6008, allocations: 195.8 kB / 0.499 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.601, allocations: 20 kB / 0.499 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/0.6015, allocations: 35.98 kB / 0.4991 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.6017, allocations: 84.77 kB / 0.4991 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.839e-05/0.6018, allocations: 39.98 kB / 0.4992 GB, free: 15.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001287/0.6031, allocations: 0.9023 MB / 0.5001 GB, free: 14.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6031, allocations: 0 / 0.5001 GB, free: 14.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003529/0.6067, allocations: 0.8275 MB / 0.5009 GB, free: 13.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (blood_plasma.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,water.logn,others.logn) * 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 (93): * Single equations (assignments): 91 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002324/0.609, allocations: 0.9783 MB / 0.5018 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002586/0.6116, allocations: 1.398 MB / 0.5032 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6116, allocations: 0 / 0.5032 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.6127, allocations: 0.6867 MB / 0.5039 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.6139, allocations: 207.4 kB / 0.5041 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.618, allocations: 2.659 MB / 0.5067 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007815/0.6188, allocations: 1.081 MB / 0.5077 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/0.6194, allocations: 222.8 kB / 0.5079 GB, free: 6.438 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6194, allocations: 0 / 0.5079 GB, free: 6.438 MB / 382.1 MB Notification: Performance of Templates: time 0.04264/0.662, allocations: 30.72 MB / 0.5379 GB, free: 7.746 MB / 414.1 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility_blood.makefile make -j1 -f Chemical_Chemical.Examples.GasSolubility_blood.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 OMCppChemical_Chemical.Examples.GasSolubility_bloodCalcHelperMain.o OMCppChemical_Chemical.Examples.GasSolubility_bloodCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.GasSolubility_bloodCalcHelperMain.o] Error 1