Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008559/0.0008561, allocations: 86.38 kB / 17.58 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 187.8 kB / 18.48 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.4 MB / 224.6 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004704, allocations: 17.72 kB / 281.4 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1184, allocations: 47.58 MB / 329 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.446/0.5645, allocations: 140 MB / 468.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.5682, allocations: 2.84 MB / 471.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.5683, allocations: 0 / 471.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.5686, allocations: 67.61 kB / 471.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.5707, allocations: 0.801 MB / 472.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008399/0.5716, allocations: 288.1 kB / 472.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006505/0.5722, allocations: 0.5219 MB / 473.5 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.5723, allocations: 13.55 kB / 473.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.5727, allocations: 195.3 kB / 473.7 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.5729, allocations: 167.5 kB / 473.8 MB, free: 9.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.573, allocations: 12 kB / 473.8 MB, free: 9.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.5761, allocations: 1.582 MB / 475.4 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.5762, allocations: 135.7 kB / 475.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.639e-05/0.5763, allocations: 85.58 kB / 475.6 MB, free: 7.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.5775, allocations: 0.9213 MB / 476.6 MB, free: 6.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.5776, allocations: 0 / 476.6 MB, free: 6.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5776, allocations: 0 / 476.6 MB, free: 6.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.5776, allocations: 0 / 476.6 MB, free: 6.59 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001727/0.5793, allocations: 0.6986 MB / 477.2 MB, free: 5.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5794, allocations: 12.03 kB / 477.3 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.5813, allocations: 259.9 kB / 477.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.5817, allocations: 286.6 kB / 477.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.5817, allocations: 20.56 kB / 477.8 MB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.5818, allocations: 31.91 kB / 477.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.5831, allocations: 0.6671 MB / 478.5 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.5831, allocations: 4 kB / 478.5 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.5832, allocations: 12 kB / 478.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.511e-05/0.5832, allocations: 20.44 kB / 478.5 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.5848, allocations: 0.7634 MB / 479.3 MB, free: 3.73 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.003508/0.5883, allocations: 1.803 MB / 481.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.5895, allocations: 476.8 kB / 481.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005513/0.59, allocations: 237.6 kB / 481.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002207/0.5922, allocations: 1.372 MB / 483.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.5923, allocations: 38.56 kB / 483.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.665e-06/0.5923, allocations: 0 / 483.2 MB, free: 15.47 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01183/0.6042, allocations: 3.648 MB / 486.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.6042, allocations: 85.11 kB / 487 MB, free: 11.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.6044, allocations: 182.5 kB / 487.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.6045, allocations: 33.7 kB / 487.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.6046, allocations: 172.1 kB / 487.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.6048, allocations: 181.5 kB / 487.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.6048, allocations: 8 kB / 487.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.605, allocations: 338.8 kB / 487.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/0.6057, allocations: 261.1 kB / 488.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/0.6065, allocations: 426.2 kB / 488.5 MB, free: 9.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.6072, allocations: 305.1 kB / 488.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6072, allocations: 0 / 488.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001793/0.609, allocations: 0.7802 MB / 489.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.609, allocations: 8 kB / 489.6 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.609, allocations: 4 kB / 489.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.6093, allocations: 66.25 kB / 489.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.6103, allocations: 175.7 kB / 489.8 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007178/0.6111, allocations: 1.089 MB / 490.9 MB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/0.6117, allocations: 43.95 kB / 491 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.553e-05/0.6118, allocations: 35.98 kB / 491 MB, free: 7.285 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002387/0.6121, allocations: 173.8 kB / 491.2 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.6122, allocations: 31.7 kB / 491.2 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.6142, allocations: 0.7745 MB / 492 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.6143, allocations: 8 kB / 492 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6143, allocations: 0 / 492 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.6143, allocations: 11.97 kB / 492 MB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.6177, allocations: 1.546 MB / 493.6 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.6177, allocations: 4 kB / 493.6 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000934/0.6187, allocations: 151.9 kB / 493.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.6188, allocations: 45.59 kB / 493.8 MB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.385e-05/0.6189, allocations: 23.98 kB / 493.8 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/0.6207, allocations: 2.533 MB / 496.3 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6208, allocations: 4 kB / 496.3 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.6231, allocations: 1.072 MB / 497.4 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-05/0.6232, allocations: 96.83 kB / 497.5 MB, free: 380 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.6233, allocations: 12 kB / 497.5 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/0.624, allocations: 44 kB / 497.5 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.6241, allocations: 47.83 kB / 497.6 MB, free: 276 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-05/0.6242, allocations: 36.06 kB / 497.6 MB, free: 240 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.6243, allocations: 124.4 kB / 497.7 MB, free: 116 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6243, allocations: 0 / 497.7 MB, free: 116 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001508/0.6258, allocations: 383.8 kB / 498.1 MB, free: 15.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * 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 (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002233/0.628, allocations: 0.6702 MB / 498.8 MB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.63, allocations: 0.648 MB / 499.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.6301, allocations: 0 / 499.4 MB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.6311, allocations: 0.5326 MB / 500 MB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007269/0.6319, allocations: 107.9 kB / 0.4883 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.634, allocations: 1.222 MB / 0.4895 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.6344, allocations: 0.7852 MB / 0.4903 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.6348, allocations: 75.38 kB / 0.4904 GB, free: 11.58 MB / 398.1 MB Notification: Performance of SimCode: time 5.72e-07/0.6348, allocations: 0 / 0.4904 GB, free: 11.58 MB / 398.1 MB Notification: Performance of Templates: time 0.02146/0.6563, allocations: 14.29 MB / 0.5043 GB, free: 13.26 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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 OMCppModelica_3.2.3_Modelica.Media.Examples.MixtureGasesCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.MixtureGasesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.MixtureGasesCalcHelperMain.o] Error 1