Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.HydrogenCombustion.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.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") translateModel(Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001119, allocations: 100.1 kB / 15.71 MB, free: 448 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.00161/0.00161, allocations: 177.2 kB / 16.59 MB, free: 6.859 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.6/1.6, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.3686/0.3686, allocations: 15.26 MB / 307 MB, free: 15.77 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 8 kB / 372.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.424, allocations: 54.61 MB / 426.7 MB, free: 40.68 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.HydrogenCombustion): time 0.009461/0.4335, allocations: 8.832 MB / 435.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1996/0.6331, allocations: 138.8 MB / 0.5609 GB, free: 2.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.6358, allocations: 35.75 kB / 0.5609 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.6375, allocations: 441.1 kB / 0.5614 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006343/0.6438, allocations: 1.465 MB / 0.5628 GB, free: 436 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.654, allocations: 2.328 MB / 0.5651 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005138/0.6592, allocations: 2.4 MB / 0.5674 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002721/0.6619, allocations: 1.159 MB / 0.5685 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.6647, allocations: 1.059 MB / 0.5696 GB, free: 9.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/0.6676, allocations: 1.34 MB / 0.5709 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004275/0.668, allocations: 120 kB / 0.571 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009057/0.6771, allocations: 2.246 MB / 0.5732 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009697/0.6781, allocations: 478.4 kB / 0.5736 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.6796, allocations: 416.6 kB / 0.574 GB, free: 4.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008208/0.6878, allocations: 3.79 MB / 0.5777 GB, free: 1.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.6878, allocations: 0 / 0.5777 GB, free: 1.039 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6879, allocations: 4 kB / 0.5777 GB, free: 1.035 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001327/0.688, allocations: 0 / 0.5777 GB, free: 1.035 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 492 * Number of variables: 492 Notification: Performance of Generate backend data structure: time 0.2986/0.9866, allocations: 2.326 MB / 0.58 GB, free: 128.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.9867, allocations: 8.5 kB / 0.58 GB, free: 128.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/0.9909, allocations: 0.8546 MB / 0.5809 GB, free: 128.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.9928, allocations: 0.8839 MB / 0.5817 GB, free: 128.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.993, allocations: 205.4 kB / 0.5819 GB, free: 128.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.9933, allocations: 197.8 kB / 0.5821 GB, free: 128.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.9967, allocations: 2.134 MB / 0.5842 GB, free: 128.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.9968, allocations: 2.406 kB / 0.5842 GB, free: 128.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.997, allocations: 78.72 kB / 0.5843 GB, free: 128.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.997, allocations: 50.19 kB / 0.5843 GB, free: 128.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003813/1.001, allocations: 2.288 MB / 0.5866 GB, free: 128 MB / 446.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.01008/1.011, allocations: 7.617 MB / 0.594 GB, free: 123.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003684/1.015, allocations: 2.196 MB / 0.5961 GB, free: 122 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/1.016, allocations: 0.8192 MB / 0.5969 GB, free: 121.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00767/1.024, allocations: 6.557 MB / 0.6033 GB, free: 116.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.024, allocations: 46.62 kB / 0.6034 GB, free: 116.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=133): time 3.026e-06/1.024, allocations: 2.969 kB / 0.6034 GB, free: 116.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=176): time 0.01758/1.041, allocations: 6.959 MB / 0.6102 GB, free: 113.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/1.041, allocations: 96.64 kB / 0.6103 GB, free: 113.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001504/1.043, allocations: 0.937 MB / 0.6112 GB, free: 113 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/1.043, allocations: 55.11 kB / 0.6112 GB, free: 113 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006728/1.044, allocations: 0.882 MB / 0.6121 GB, free: 112.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005503/1.044, allocations: 0.5976 MB / 0.6127 GB, free: 111.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/1.044, allocations: 41.47 kB / 0.6127 GB, free: 111.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/1.044, allocations: 381.4 kB / 0.6131 GB, free: 111.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/1.046, allocations: 0.6231 MB / 0.6137 GB, free: 111.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/1.048, allocations: 1.193 MB / 0.6149 GB, free: 110.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/1.049, allocations: 0.7963 MB / 0.6156 GB, free: 109.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/1.049, allocations: 5.5 kB / 0.6156 GB, free: 109.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005958/1.055, allocations: 2.621 MB / 0.6182 GB, free: 108.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/1.055, allocations: 15.61 kB / 0.6182 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/1.055, allocations: 17.78 kB / 0.6182 GB, free: 108.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/1.058, allocations: 0.63 MB / 0.6189 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/1.06, allocations: 485.5 kB / 0.6193 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008969/1.069, allocations: 8.803 MB / 0.6279 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/1.071, allocations: 117.4 kB / 0.628 GB, free: 100.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004062/1.072, allocations: 164.7 kB / 0.6282 GB, free: 100.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (208): * Single equations (assignments): 202 * 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%) 10,(1,100.0%) 11,(1,100.0%) 6} * Non-linear torn systems: 3 {1 6,1 11,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001181/1.073, allocations: 425.6 kB / 0.6286 GB, free: 100.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004573/1.073, allocations: 152.6 kB / 0.6287 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007415/1.081, allocations: 2.746 MB / 0.6314 GB, free: 99.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4e-05/1.081, allocations: 22.53 kB / 0.6314 GB, free: 99.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/1.081, allocations: 10.14 kB / 0.6314 GB, free: 99.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-05/1.081, allocations: 9.188 kB / 0.6315 GB, free: 99.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009384/1.09, allocations: 4.25 MB / 0.6356 GB, free: 97.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/1.09, allocations: 0.7031 kB / 0.6356 GB, free: 97.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.092, allocations: 363.3 kB / 0.636 GB, free: 97.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002362/1.094, allocations: 0.5971 MB / 0.6365 GB, free: 97.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/1.095, allocations: 77.39 kB / 0.6366 GB, free: 97.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00717/1.102, allocations: 8.105 MB / 0.6445 GB, free: 89.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.102, allocations: 0 / 0.6445 GB, free: 89.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006082/1.108, allocations: 3.271 MB / 0.6477 GB, free: 87.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/1.108, allocations: 207 kB / 0.6479 GB, free: 87.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/1.109, allocations: 43.75 kB / 0.648 GB, free: 87.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008014/1.11, allocations: 67.34 kB / 0.648 GB, free: 87.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003815/1.11, allocations: 165.5 kB / 0.6482 GB, free: 86.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/1.11, allocations: 127.2 kB / 0.6483 GB, free: 86.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008272/1.111, allocations: 0.6163 MB / 0.6489 GB, free: 86.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.111, allocations: 0 / 0.6489 GB, free: 86.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003583/1.115, allocations: 0.8423 MB / 0.6497 GB, free: 85.54 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (H2_gas.logn,O2_gas.logn,H2O_gas.molarVolume,H2O_gas.logn,H2_gas1.logn,O2_gas1.logn,H2O_gas1.molarVolume,H2O_gas1.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 (147): * Single equations (assignments): 141 * 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%) 9,(1,100.0%) 6,(1,100.0%) 8} * Non-linear torn systems: 3 {1 10,1 8,1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001631/1.116, allocations: 0.7854 MB / 0.6505 GB, free: 84.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003901/1.12, allocations: 2.452 MB / 0.6529 GB, free: 82.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.12, allocations: 0 / 0.6529 GB, free: 82.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002092/1.122, allocations: 1.58 MB / 0.6544 GB, free: 81.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/1.124, allocations: 285.6 kB / 0.6547 GB, free: 80.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006691/1.13, allocations: 4.433 MB / 0.659 GB, free: 76.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009467/1.131, allocations: 1.402 MB / 0.6604 GB, free: 74.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.132, allocations: 335.2 kB / 0.6607 GB, free: 74.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.054e-06/1.132, allocations: 0 / 0.6607 GB, free: 74.52 MB / 446.1 MB Notification: Performance of Templates: time 0.06846/1.201, allocations: 72.38 MB / 0.7314 GB, free: 2.125 MB / 446.1 MB make -j1 -f Chemical_Chemical.Examples.HydrogenCombustion.makefile make -j1 -f Chemical_Chemical.Examples.HydrogenCombustion.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.HydrogenCombustionCalcHelperMain.o OMCppChemical_Chemical.Examples.HydrogenCombustionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppChemical_Chemical.Examples.HydrogenCombustionCalcHelperMain.o] Error 1