Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_NIST.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_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") translateModel(Chemical.Examples.GasSolubility_NIST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_NIST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008353/0.0008352, allocations: 103 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.0009804/0.0009807, allocations: 175 kB / 16.58 MB, free: 6.074 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.576/1.576, allocations: 223.2 MB / 240.6 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.2563/0.2563, allocations: 15.26 MB / 307 MB, free: 15.79 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003996, allocations: 8 kB / 372.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4114, allocations: 54.62 MB / 426.7 MB, free: 40.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_NIST): time 0.01285/0.4243, allocations: 15.51 MB / 442.2 MB, free: 32.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04582/0.4702, allocations: 44.85 MB / 487.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004875/0.4751, allocations: 71.16 kB / 487.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005378/0.4805, allocations: 0.9962 MB / 488.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02372/0.5043, allocations: 3.068 MB / 491.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03267/0.537, allocations: 5.64 MB / 496.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009707/0.5468, allocations: 4.069 MB / 0.4892 GB, free: 8.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005221/0.5521, allocations: 1.835 MB / 0.491 GB, free: 7.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006305/0.5584, allocations: 1.664 MB / 0.4926 GB, free: 6.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006634/0.5651, allocations: 2.065 MB / 0.4946 GB, free: 5.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002033/0.5672, allocations: 199.6 kB / 0.4948 GB, free: 5.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02767/0.5949, allocations: 5.068 MB / 0.4997 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002309/0.5972, allocations: 0.6773 MB / 0.5004 GB, free: 252 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002437/0.5997, allocations: 0.6406 MB / 0.501 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.6185, allocations: 7.379 MB / 0.5082 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.6185, allocations: 4 kB / 0.5082 GB, free: 8.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.6186, allocations: 4 kB / 0.5082 GB, free: 8.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001536/0.6187, allocations: 0 / 0.5082 GB, free: 8.184 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: 791 * Number of variables: 791 Notification: Performance of Generate backend data structure: time 0.01044/0.6292, allocations: 3.892 MB / 0.512 GB, free: 4.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.6292, allocations: 8.031 kB / 0.5121 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004231/0.6335, allocations: 0.9211 MB / 0.5129 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/0.6369, allocations: 1.45 MB / 0.5144 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.6371, allocations: 234.2 kB / 0.5146 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005413/0.6377, allocations: 323.8 kB / 0.5149 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007282/0.645, allocations: 4.433 MB / 0.5192 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.956e-05/0.645, allocations: 4 kB / 0.5192 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002862/0.6453, allocations: 124 kB / 0.5193 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.634e-05/0.6454, allocations: 76 kB / 0.5194 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009218/0.6546, allocations: 6.349 MB / 0.5256 GB, free: 6.156 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.02345/0.6781, allocations: 12.51 MB / 0.5378 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007553/0.6857, allocations: 4.595 MB / 0.5423 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002213/0.688, allocations: 1.308 MB / 0.5436 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01894/0.7069, allocations: 11.92 MB / 0.5552 GB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.192e-05/0.707, allocations: 52.25 kB / 0.5553 GB, free: 5.793 MB / 430.1 MB Notification: Performance of pre-optimization done (n=182): time 5.18e-06/0.707, allocations: 0 / 0.5553 GB, free: 5.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=227): time 0.04288/0.7499, allocations: 9.881 MB / 0.5649 GB, free: 11.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.7501, allocations: 132.7 kB / 0.5651 GB, free: 11.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004936/0.7551, allocations: 3.295 MB / 0.5683 GB, free: 8.207 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004704/0.7556, allocations: 65.7 kB / 0.5684 GB, free: 8.137 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.7569, allocations: 1.593 MB / 0.5699 GB, free: 6.523 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009081/0.7578, allocations: 0.7935 MB / 0.5707 GB, free: 5.719 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.758, allocations: 68 kB / 0.5707 GB, free: 5.652 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.7582, allocations: 449.5 kB / 0.5712 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.7604, allocations: 1.366 MB / 0.5725 GB, free: 3.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/0.7635, allocations: 2.469 MB / 0.5749 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/0.7664, allocations: 1.68 MB / 0.5766 GB, free: 15.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-05/0.7665, allocations: 8 kB / 0.5766 GB, free: 15.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=458) (initialization): time 0.01367/0.7802, allocations: 4.987 MB / 0.5814 GB, free: 10.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.7803, allocations: 20 kB / 0.5815 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.209e-05/0.7804, allocations: 36 kB / 0.5815 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/0.7861, allocations: 0.7582 MB / 0.5822 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/0.7898, allocations: 0.8347 MB / 0.583 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3342/1.124, allocations: 10.48 MB / 0.5933 GB, free: 126.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/1.128, allocations: 191 kB / 0.5935 GB, free: 126.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004944/1.128, allocations: 197.5 kB / 0.5936 GB, free: 126.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 159 * 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 (440): * Single equations (assignments): 434 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00124/1.129, allocations: 0.5434 MB / 0.5942 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005504/1.13, allocations: 258.6 kB / 0.5944 GB, free: 126.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/1.14, allocations: 3.251 MB / 0.5976 GB, free: 126.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/1.14, allocations: 27.44 kB / 0.5976 GB, free: 126.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/1.14, allocations: 3 kB / 0.5976 GB, free: 126.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.374e-05/1.14, allocations: 13.45 kB / 0.5976 GB, free: 126.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004632/1.145, allocations: 2.602 MB / 0.6002 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/1.145, allocations: 7.281 kB / 0.6002 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/1.147, allocations: 449.1 kB / 0.6006 GB, free: 125.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00544/1.152, allocations: 0.7102 MB / 0.6013 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003233/1.152, allocations: 84.48 kB / 0.6014 GB, free: 125.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/1.165, allocations: 10.22 MB / 0.6114 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.165, allocations: 14.03 kB / 0.6114 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/1.176, allocations: 4.166 MB / 0.6155 GB, free: 115.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.177, allocations: 373.1 kB / 0.6158 GB, free: 115.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/1.177, allocations: 51.88 kB / 0.6159 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/1.179, allocations: 86.36 kB / 0.6159 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/1.179, allocations: 197 kB / 0.6161 GB, free: 115.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/1.18, allocations: 103.2 kB / 0.6162 GB, free: 115.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002718/1.182, allocations: 2.32 MB / 0.6185 GB, free: 114.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.182, allocations: 0 / 0.6185 GB, free: 114.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00758/1.19, allocations: 2.039 MB / 0.6205 GB, free: 113.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (water_solution_37degC1.temperature,CO2_0.logn,O2_0.logn,water_0.logn,water_solution_37degC.temperature,CO2_37.logn,O2_37.logn,water_37.logn,water_solution_25degC.temperature,CO2_25.logn,O2_25.logn,water_25.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 (236): * Single equations (assignments): 230 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005738/1.196, allocations: 2.184 MB / 0.6226 GB, free: 113.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00704/1.203, allocations: 3.749 MB / 0.6263 GB, free: 111.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.203, allocations: 1.062 kB / 0.6263 GB, free: 111.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003041/1.206, allocations: 1.871 MB / 0.6281 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/1.209, allocations: 484.1 kB / 0.6286 GB, free: 110.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.219, allocations: 6.345 MB / 0.6348 GB, free: 106.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001895/1.221, allocations: 1.719 MB / 0.6364 GB, free: 106.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/1.223, allocations: 0.5183 MB / 0.6369 GB, free: 106 MB / 462.1 MB Notification: Performance of SimCode: time 1.593e-06/1.223, allocations: 0 / 0.6369 GB, free: 106 MB / 462.1 MB Notification: Performance of Templates: time 0.1358/1.359, allocations: 120.9 MB / 0.755 GB, free: 15.14 MB / 478.1 MB make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST.makefile make -j1 -f Chemical_Chemical.Examples.GasSolubility_NIST.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_NISTCalcHelperMain.o OMCppChemical_Chemical.Examples.GasSolubility_NISTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.GasSolubility_NISTCalcHelperMain.o] Error 1