Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.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.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") translateModel(Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009598/0.0009598, allocations: 98.89 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.0009733/0.0009734, allocations: 179.9 kB / 16.58 MB, free: 6.879 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.561/1.561, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3526/0.3526, allocations: 15.27 MB / 307 MB, free: 15.74 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003489, allocations: 11.98 kB / 372.1 MB, free: 4.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4022, allocations: 54.61 MB / 426.7 MB, free: 40.11 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.Hemoglobin.Allosteric_Hemoglobin2_MWC): time 0.008775/0.411, allocations: 9.654 MB / 436.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02213/0.4332, allocations: 23.78 MB / 460.1 MB, free: 19.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.4354, allocations: 40.97 kB / 460.2 MB, free: 19.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.437, allocations: 0.5309 MB / 460.7 MB, free: 18.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006586/0.4436, allocations: 1.842 MB / 462.6 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009589/0.4532, allocations: 2.855 MB / 465.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009071/0.4623, allocations: 6.86 MB / 472.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008103/0.4705, allocations: 4.453 MB / 476.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009767/0.4803, allocations: 4.097 MB / 480.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01072/0.4911, allocations: 3.989 MB / 484.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003829/0.4949, allocations: 397.8 kB / 485.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0155/0.5105, allocations: 2.876 MB / 488.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004463/0.515, allocations: 1.381 MB / 489.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004309/0.5193, allocations: 0.9495 MB / 490.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.533, allocations: 8.264 MB / 498.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.533, allocations: 0 / 498.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.533, allocations: 0 / 498.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000343/0.5334, allocations: 0 / 498.7 MB, free: 14.05 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.01807/0.5515, allocations: 6.086 MB / 0.4929 GB, free: 7.883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5515, allocations: 8.031 kB / 0.4929 GB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007426/0.5589, allocations: 1.208 MB / 0.4941 GB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009354/0.5684, allocations: 2.97 MB / 0.497 GB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008736/0.5693, allocations: 0.6682 MB / 0.4977 GB, free: 2.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003044/0.5724, allocations: 0.4919 MB / 0.4982 GB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02518/0.5976, allocations: 9.337 MB / 0.5073 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001404/0.5978, allocations: 0 / 0.5073 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001775/0.5995, allocations: 196 kB / 0.5075 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.5997, allocations: 123.9 kB / 0.5076 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0284/0.6281, allocations: 12.56 MB / 0.5198 GB, free: 12.04 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.07358/0.7017, allocations: 30.07 MB / 0.5492 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4075/1.109, allocations: 41.23 MB / 0.5895 GB, free: 99.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01109/1.12, allocations: 5.054 MB / 0.5944 GB, free: 99.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03834/1.159, allocations: 20.75 MB / 0.6147 GB, free: 90.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/1.159, allocations: 62.7 kB / 0.6147 GB, free: 90.27 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003955/1.163, allocations: 0.9603 MB / 0.6157 GB, free: 89.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=324): time 1.599e-05/1.163, allocations: 3.938 kB / 0.6157 GB, free: 89.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=376): time 0.112/1.275, allocations: 24.45 MB / 0.6395 GB, free: 82.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.275, allocations: 97.64 kB / 0.6396 GB, free: 82.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006338/1.282, allocations: 2.935 MB / 0.6425 GB, free: 81.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001433/1.283, allocations: 85.02 kB / 0.6426 GB, free: 80.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001915/1.285, allocations: 2.154 MB / 0.6447 GB, free: 79.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002759/1.288, allocations: 1.303 MB / 0.646 GB, free: 77.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00135/1.289, allocations: 94.69 kB / 0.646 GB, free: 77.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004462/1.29, allocations: 498.8 kB / 0.6465 GB, free: 77.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006054/1.296, allocations: 2.948 MB / 0.6494 GB, free: 75.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007243/1.303, allocations: 4.458 MB / 0.6538 GB, free: 72.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007304/1.31, allocations: 3.574 MB / 0.6572 GB, free: 68.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.34e-05/1.31, allocations: 20 kB / 0.6573 GB, free: 68.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=617) (initialization): time 0.0568/1.367, allocations: 13.81 MB / 0.6707 GB, free: 54.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.8e-05/1.367, allocations: 26.5 kB / 0.6708 GB, free: 54.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.491e-05/1.367, allocations: 48 kB / 0.6708 GB, free: 54.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008464/1.376, allocations: 3.498 MB / 0.6742 GB, free: 51.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005716/1.382, allocations: 1.267 MB / 0.6755 GB, free: 50 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02966/1.411, allocations: 16.63 MB / 0.6917 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006114/1.417, allocations: 367.4 kB / 0.6921 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001693/1.419, allocations: 282.8 kB / 0.6923 GB, free: 32.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 218 * 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 (599): * Single equations (assignments): 596 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.005565/1.425, allocations: 1.449 MB / 0.6937 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002464/1.427, allocations: 347.6 kB / 0.6941 GB, free: 30.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03756/1.465, allocations: 9.671 MB / 0.7035 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.474e-05/1.465, allocations: 36 kB / 0.7036 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.224e-05/1.465, allocations: 12 kB / 0.7036 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001992/1.465, allocations: 19.92 kB / 0.7036 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05535/1.521, allocations: 15.41 MB / 0.7186 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.256e-05/1.521, allocations: 4 kB / 0.7186 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005141/1.526, allocations: 0.8507 MB / 0.7195 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006151/1.532, allocations: 2.142 MB / 0.7216 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001478/1.534, allocations: 139.8 kB / 0.7217 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0233/1.557, allocations: 11.45 MB / 0.7329 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.557, allocations: 4 kB / 0.7329 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04453/1.602, allocations: 12.95 MB / 0.7455 GB, free: 9.273 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00409/1.606, allocations: 0.9375 MB / 0.7464 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002056/1.608, allocations: 91.97 kB / 0.7465 GB, free: 8.223 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004796/1.613, allocations: 263.5 kB / 0.7468 GB, free: 7.965 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002001/1.615, allocations: 453.2 kB / 0.7472 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001032/1.616, allocations: 147.9 kB / 0.7474 GB, free: 7.379 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004844/1.621, allocations: 1.969 MB / 0.7493 GB, free: 5.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.51e-07/1.621, allocations: 1.5 kB / 0.7493 GB, free: 5.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01303/1.634, allocations: 2.025 MB / 0.7513 GB, free: 3.504 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 19 (solution.temperature,OxyRHm[1].logn,OxyRHm[2].logn,OxyRHm[3].logn,OxyRHm[4].logn,DeoxyRHm[1].logn,DeoxyRHm[2].logn,DeoxyRHm[3].logn,DeoxyRHm[4].logn,OxyTHm[1].logn,OxyTHm[2].logn,OxyTHm[3].logn,OxyTHm[4].logn,DeoxyTHm[1].logn,DeoxyTHm[2].logn,DeoxyTHm[3].logn,DeoxyTHm[4].logn,oxygen_unbound.logn,H2O.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 (408): * Single equations (assignments): 405 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(9,100.0%) 4} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00485/1.639, allocations: 1.248 MB / 0.7525 GB, free: 2.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.287/1.926, allocations: 7.368 MB / 0.7597 GB, free: 139.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.926, allocations: 3.188 kB / 0.7597 GB, free: 139.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008616/1.934, allocations: 4.07 MB / 0.7637 GB, free: 138.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/1.939, allocations: 0.739 MB / 0.7644 GB, free: 138.7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/1.961, allocations: 12.54 MB / 0.7766 GB, free: 133.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003741/1.965, allocations: 3.222 MB / 0.7798 GB, free: 132.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00288/1.968, allocations: 488.4 kB / 0.7802 GB, free: 132.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.864e-06/1.968, allocations: 0 / 0.7802 GB, free: 132.7 MB / 478.1 MB Notification: Performance of Templates: time 0.1967/2.165, allocations: 145.3 MB / 0.9221 GB, free: 10.01 MB / 478.1 MB make -j1 -f Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.makefile make -j1 -f Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.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.Hemoglobin.Allosteric_Hemoglobin2_MWCCalcHelperMain.o OMCppChemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWCCalcHelperMain.o] Error 1