Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.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.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") translateModel(Chemical.Examples.AcidBase.CarbonDioxideInBlood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 100.2 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.002302/0.002303, allocations: 175.8 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.549/1.549, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3605/0.3605, allocations: 15.27 MB / 307 MB, free: 15.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 12 kB / 372.1 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3776, allocations: 54.62 MB / 426.7 MB, free: 39.89 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo:3011:6-3011:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.CarbonDioxideInBlood): time 0.0136/0.3913, allocations: 14.7 MB / 441.4 MB, free: 32.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04095/0.4323, allocations: 43.24 MB / 484.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003464/0.4358, allocations: 64.34 kB / 484.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003163/0.439, allocations: 0.9182 MB / 485.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01777/0.4567, allocations: 3.262 MB / 488.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02968/0.4865, allocations: 5.173 MB / 494.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01226/0.4988, allocations: 4.128 MB / 498.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006604/0.5054, allocations: 2.134 MB / 0.4886 GB, free: 8.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006466/0.5119, allocations: 1.793 MB / 0.4904 GB, free: 8.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007603/0.5196, allocations: 2.307 MB / 0.4926 GB, free: 7.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.5215, allocations: 226.6 kB / 0.4928 GB, free: 7.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02927/0.5508, allocations: 4.819 MB / 0.4975 GB, free: 3.199 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002508/0.5534, allocations: 0.7631 MB / 0.4983 GB, free: 2.434 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002674/0.5561, allocations: 0.625 MB / 0.4989 GB, free: 1.801 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02044/0.5765, allocations: 7.333 MB / 0.506 GB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5766, allocations: 0 / 0.506 GB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5766, allocations: 3.938 kB / 0.5061 GB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001961/0.5768, allocations: 0 / 0.5061 GB, free: 10.44 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01485/0.5917, allocations: 3.935 MB / 0.5099 GB, free: 6.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.5917, allocations: 8.031 kB / 0.5099 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006428/0.5982, allocations: 0.8276 MB / 0.5107 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006396/0.6046, allocations: 1.515 MB / 0.5122 GB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000692/0.6054, allocations: 293.7 kB / 0.5125 GB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002473/0.6079, allocations: 335.8 kB / 0.5128 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01659/0.6245, allocations: 4.445 MB / 0.5171 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.179e-05/0.6246, allocations: 8 kB / 0.5171 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005394/0.6252, allocations: 124 kB / 0.5173 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.833e-05/0.6253, allocations: 76 kB / 0.5173 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.6395, allocations: 6.095 MB / 0.5233 GB, free: 8.57 MB / 398.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.02737/0.6669, allocations: 13.89 MB / 0.5368 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009251/0.6762, allocations: 6.304 MB / 0.543 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003671/0.6799, allocations: 2.227 MB / 0.5452 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02331/0.7032, allocations: 14.52 MB / 0.5594 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/0.7033, allocations: 60.8 kB / 0.5594 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001755/0.7051, allocations: 373 kB / 0.5598 GB, free: 1.262 MB / 430.1 MB Notification: Performance of pre-optimization done (n=284): time 6.602e-06/0.7051, allocations: 0 / 0.5598 GB, free: 1.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=387): time 0.4063/1.111, allocations: 24.08 MB / 0.5833 GB, free: 117.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/1.112, allocations: 91.45 kB / 0.5834 GB, free: 117.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/1.114, allocations: 1.697 MB / 0.585 GB, free: 116.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007601/1.115, allocations: 90.73 kB / 0.5851 GB, free: 116.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009232/1.116, allocations: 1.306 MB / 0.5864 GB, free: 115.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001294/1.117, allocations: 1.304 MB / 0.5877 GB, free: 114.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/1.118, allocations: 86.28 kB / 0.5877 GB, free: 114.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/1.118, allocations: 468 kB / 0.5882 GB, free: 114.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002764/1.121, allocations: 1.803 MB / 0.59 GB, free: 113.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/1.124, allocations: 2.808 MB / 0.5927 GB, free: 111.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003292/1.127, allocations: 2.143 MB / 0.5948 GB, free: 110.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/1.127, allocations: 9.312 kB / 0.5948 GB, free: 110.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01785/1.145, allocations: 6.802 MB / 0.6014 GB, free: 108.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.633e-05/1.145, allocations: 16.53 kB / 0.6015 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.718e-05/1.145, allocations: 29.59 kB / 0.6015 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/1.156, allocations: 2.316 MB / 0.6037 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004348/1.16, allocations: 0.8976 MB / 0.6046 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02568/1.186, allocations: 17.08 MB / 0.6213 GB, free: 94.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004499/1.191, allocations: 221.1 kB / 0.6215 GB, free: 94.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/1.192, allocations: 229.2 kB / 0.6217 GB, free: 94.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (469): * Single equations (assignments): 460 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,77.8%) 16,(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 3} * Non-linear torn systems: 5 {3 26,1 3,1 6,1 2,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.002003/1.194, allocations: 0.5993 MB / 0.6223 GB, free: 93.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008214/1.195, allocations: 269.2 kB / 0.6226 GB, free: 93.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02046/1.215, allocations: 6.618 MB / 0.629 GB, free: 91.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001113/1.215, allocations: 41.25 kB / 0.6291 GB, free: 91.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.565e-05/1.216, allocations: 5.609 kB / 0.6291 GB, free: 91.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001758/1.216, allocations: 20.16 kB / 0.6291 GB, free: 91.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02769/1.243, allocations: 10.63 MB / 0.6395 GB, free: 86.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/1.244, allocations: 3.906 kB / 0.6395 GB, free: 86.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003035/1.247, allocations: 0.6577 MB / 0.6401 GB, free: 86.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008977/1.256, allocations: 2.094 MB / 0.6422 GB, free: 86.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008858/1.257, allocations: 134.9 kB / 0.6423 GB, free: 86.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01829/1.275, allocations: 15.71 MB / 0.6576 GB, free: 70.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.275, allocations: 12.05 kB / 0.6577 GB, free: 70 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01882/1.294, allocations: 8.457 MB / 0.6659 GB, free: 61.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002917/1.297, allocations: 0.6884 MB / 0.6666 GB, free: 60.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007325/1.297, allocations: 80 kB / 0.6667 GB, free: 60.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/1.3, allocations: 155.8 kB / 0.6668 GB, free: 60.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007588/1.3, allocations: 341.1 kB / 0.6671 GB, free: 60.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002895/1.301, allocations: 155.9 kB / 0.6673 GB, free: 59.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001384/1.302, allocations: 1.105 MB / 0.6684 GB, free: 58.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.302, allocations: 0 / 0.6684 GB, free: 58.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007661/1.31, allocations: 2.128 MB / 0.6704 GB, free: 56.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.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 (354): * Single equations (assignments): 345 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,77.8%) 16,(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 3} * Non-linear torn systems: 5 {2 8,4 30,1 3,1 2,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004476/1.314, allocations: 2.152 MB / 0.6725 GB, free: 55.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01117/1.325, allocations: 5.85 MB / 0.6783 GB, free: 49.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/1.326, allocations: 0 / 0.6783 GB, free: 49.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006383/1.332, allocations: 3.527 MB / 0.6817 GB, free: 45.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/1.336, allocations: 0.5211 MB / 0.6822 GB, free: 45.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/1.35, allocations: 8.042 MB / 0.6901 GB, free: 37.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001775/1.352, allocations: 1.881 MB / 0.6919 GB, free: 35.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/1.354, allocations: 0.5537 MB / 0.6924 GB, free: 34.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.412e-06/1.354, allocations: 0 / 0.6924 GB, free: 34.58 MB / 446.1 MB Notification: Performance of Templates: time 0.4715/1.825, allocations: 167.4 MB / 0.8559 GB, free: 73.97 MB / 478.1 MB make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.makefile make -j1 -f Chemical_Chemical.Examples.AcidBase.CarbonDioxideInBlood.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.AcidBase.CarbonDioxideInBloodCalcHelperMain.o OMCppChemical_Chemical.Examples.AcidBase.CarbonDioxideInBloodCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.AcidBase.CarbonDioxideInBloodCalcHelperMain.o] Error 1