Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") translateModel(Chemical.Examples.GasSolubility,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 102.7 kB / 15.71 MB, free: 460 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.001387/0.001387, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.552/1.552, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3192/0.3192, allocations: 15.26 MB / 307 MB, free: 15.78 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 12 kB / 372.1 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4156, allocations: 54.62 MB / 426.7 MB, free: 39.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility): time 0.01071/0.4264, allocations: 10.58 MB / 437.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03057/0.457, allocations: 30 MB / 467.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002893/0.46, allocations: 44.69 kB / 467.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.462, allocations: 0.6267 MB / 468 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009412/0.4715, allocations: 2.311 MB / 470.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01525/0.4868, allocations: 3.487 MB / 473.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006645/0.4934, allocations: 2.725 MB / 476.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003827/0.4973, allocations: 1.289 MB / 477.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/0.501, allocations: 1.16 MB / 478.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.5047, allocations: 1.453 MB / 480.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004396/0.5052, allocations: 138 kB / 480.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01662/0.5218, allocations: 3.3 MB / 483.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001458/0.5233, allocations: 474.9 kB / 484.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.5254, allocations: 444.7 kB / 484.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.5388, allocations: 4.901 MB / 489.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.5389, allocations: 0 / 489.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5389, allocations: 0 / 489.6 MB, free: 3.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.801e-05/0.539, allocations: 0.8438 kB / 489.6 MB, free: 3.992 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: 539 * Number of variables: 539 Notification: Performance of Generate backend data structure: time 0.01001/0.549, allocations: 2.696 MB / 492.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.24e-05/0.5491, allocations: 12.91 kB / 492.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003544/0.5526, allocations: 0.5654 MB / 492.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/0.5562, allocations: 1.025 MB / 493.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.5564, allocations: 162.8 kB / 494.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004755/0.5569, allocations: 217.8 kB / 494.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005289/0.5622, allocations: 2.769 MB / 497.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/0.5623, allocations: 7.922 kB / 497.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002263/0.5625, allocations: 84 kB / 497.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.5626, allocations: 52 kB / 497.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006337/0.5689, allocations: 3.772 MB / 0.4892 GB, free: 11.55 MB / 366.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.01686/0.5858, allocations: 8.254 MB / 0.4973 GB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006493/0.5923, allocations: 3.949 MB / 0.5011 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002154/0.5945, allocations: 1.013 MB / 0.5021 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01749/0.612, allocations: 9.036 MB / 0.511 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.6122, allocations: 51.81 kB / 0.511 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001309/0.6135, allocations: 162.1 kB / 0.5112 GB, free: 3.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=138): time 1.804e-05/0.6136, allocations: 0 / 0.5112 GB, free: 3.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=170): time 0.03289/0.6465, allocations: 6.466 MB / 0.5175 GB, free: 13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/0.6466, allocations: 69.41 kB / 0.5175 GB, free: 12.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/0.6499, allocations: 1.64 MB / 0.5191 GB, free: 11.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004624/0.6504, allocations: 61.64 kB / 0.5192 GB, free: 11.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.6516, allocations: 1.042 MB / 0.5202 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/0.6528, allocations: 0.5893 MB / 0.5208 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.6531, allocations: 51.94 kB / 0.5208 GB, free: 9.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003751/0.6535, allocations: 402.9 kB / 0.5212 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.6554, allocations: 0.7819 MB / 0.522 GB, free: 8.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00245/0.6579, allocations: 1.581 MB / 0.5235 GB, free: 6.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.6603, allocations: 1.013 MB / 0.5245 GB, free: 5.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.031e-05/0.6603, allocations: 8 kB / 0.5245 GB, free: 5.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009211/0.6695, allocations: 3.127 MB / 0.5276 GB, free: 2.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.6696, allocations: 20.16 kB / 0.5276 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-05/0.6697, allocations: 28 kB / 0.5276 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003921/0.6736, allocations: 0.5105 MB / 0.5281 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/0.6761, allocations: 0.585 MB / 0.5287 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.6878, allocations: 7.001 MB / 0.5355 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.6906, allocations: 139.8 kB / 0.5357 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000621/0.6912, allocations: 139.9 kB / 0.5358 GB, free: 9.238 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (305): * Single equations (assignments): 301 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001617/0.6929, allocations: 428.8 kB / 0.5362 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006205/0.6935, allocations: 165.8 kB / 0.5364 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008755/0.7023, allocations: 2.431 MB / 0.5388 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.7023, allocations: 20 kB / 0.5388 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.7024, allocations: 0 / 0.5388 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.8e-05/0.7024, allocations: 7.969 kB / 0.5388 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/0.7065, allocations: 1.87 MB / 0.5406 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.81e-05/0.7065, allocations: 3.984 kB / 0.5406 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.7079, allocations: 339.5 kB / 0.5409 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003816/0.7117, allocations: 491.1 kB / 0.5414 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.7119, allocations: 59.97 kB / 0.5415 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.7223, allocations: 6.819 MB / 0.5481 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.7224, allocations: 4 kB / 0.5481 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009487/0.7319, allocations: 3.007 MB / 0.5511 GB, free: 8.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.7331, allocations: 254.7 kB / 0.5513 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006171/0.7337, allocations: 44 kB / 0.5513 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.7351, allocations: 55.89 kB / 0.5514 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/0.7355, allocations: 153.8 kB / 0.5515 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/0.7357, allocations: 71.97 kB / 0.5516 GB, free: 8.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001871/0.7376, allocations: 1.122 MB / 0.5527 GB, free: 7.199 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7376, allocations: 0 / 0.5527 GB, free: 7.199 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005983/0.7436, allocations: 1.331 MB / 0.554 GB, free: 5.867 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (blood_plasma.temperature,red_cells.temperature,CO2_unbound_plasma.logn,O2_unbound_plasma.logn,CO2_unbound_erythrocyte.logn,O2_unbound_erythrocyte_NIST.logn,water_plasma.logn,water.logn,water_plasma1.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 (183): * Single equations (assignments): 179 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005511/0.7491, allocations: 1.457 MB / 0.5554 GB, free: 4.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005251/0.7544, allocations: 2.474 MB / 0.5578 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.7544, allocations: 0 / 0.5578 GB, free: 1.883 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.7568, allocations: 1.354 MB / 0.5592 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/0.7598, allocations: 341.4 kB / 0.5595 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009007/0.7688, allocations: 4.454 MB / 0.5638 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.7703, allocations: 1.382 MB / 0.5652 GB, free: 10.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.7715, allocations: 386.2 kB / 0.5656 GB, free: 9.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.7715, allocations: 0 / 0.5656 GB, free: 9.84 MB / 446.1 MB Notification: Performance of Templates: time 0.3476/1.119, allocations: 65.64 MB / 0.6297 GB, free: 123.4 MB / 462.1 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility.makefile make -j1 -f Chemical_Chemical.Examples.GasSolubility.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.GasSolubilityCalcHelperMain.o OMCppChemical_Chemical.Examples.GasSolubilityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.GasSolubilityCalcHelperMain.o] Error 1