Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008122/0.0008123, allocations: 91.98 kB / 17.63 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009095/0.0009095, allocations: 196.8 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003498, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1594, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4461/0.6056, allocations: 135.4 MB / 494.2 MB, free: 5.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.6085, allocations: 2.334 MB / 496.5 MB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.6085, allocations: 0 / 496.5 MB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.6087, allocations: 19.91 kB / 496.5 MB, free: 3.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008082/0.6095, allocations: 256.6 kB / 496.8 MB, free: 3.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.6097, allocations: 47.81 kB / 496.8 MB, free: 3.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.6098, allocations: 71.59 kB / 496.9 MB, free: 2.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.6099, allocations: 4 kB / 496.9 MB, free: 2.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.61, allocations: 23.88 kB / 496.9 MB, free: 2.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.61, allocations: 31.84 kB / 496.9 MB, free: 2.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.6101, allocations: 4 kB / 496.9 MB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007369/0.6108, allocations: 367.5 kB / 497.3 MB, free: 2.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.6108, allocations: 15.97 kB / 497.3 MB, free: 2.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.6109, allocations: 37.64 kB / 497.4 MB, free: 2.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.6112, allocations: 205 kB / 497.6 MB, free: 2.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.6112, allocations: 0 / 497.6 MB, free: 2.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6112, allocations: 4.688 kB / 497.6 MB, free: 2.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.6113, allocations: 0 / 497.6 MB, free: 2.258 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008188/0.6121, allocations: 427.7 kB / 498 MB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.6121, allocations: 8.031 kB / 498 MB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005206/0.6173, allocations: 455.8 kB / 498.4 MB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.6175, allocations: 171 kB / 498.6 MB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.6175, allocations: 4 kB / 498.6 MB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.6176, allocations: 11.91 kB / 498.6 MB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007563/0.6184, allocations: 309.2 kB / 498.9 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.6184, allocations: 0 / 498.9 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.6184, allocations: 0 / 498.9 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6185, allocations: 0 / 498.9 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007615/0.6192, allocations: 279.8 kB / 499.2 MB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009195/0.6202, allocations: 429.2 kB / 499.6 MB, free: 68 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000905/0.6211, allocations: 206.4 kB / 499.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.6213, allocations: 76.75 kB / 499.9 MB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.6213, allocations: 7.984 kB / 499.9 MB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.6213, allocations: 34.52 kB / 499.9 MB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.6213, allocations: 0 / 499.9 MB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001541/0.6229, allocations: 416.6 kB / 0.4886 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.6229, allocations: 51.41 kB / 0.4887 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.623, allocations: 105.8 kB / 0.4888 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.6231, allocations: 29.7 kB / 0.4888 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.6231, allocations: 91.95 kB / 0.4889 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.6232, allocations: 63.05 kB / 0.4889 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.6232, allocations: 4 kB / 0.4889 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.6234, allocations: 322.8 kB / 0.4892 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.6236, allocations: 76.31 kB / 0.4893 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.6239, allocations: 116 kB / 0.4894 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.6242, allocations: 90.39 kB / 0.4895 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6242, allocations: 4 kB / 0.4895 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005842/0.6248, allocations: 241.4 kB / 0.4897 GB, free: 14.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6248, allocations: 4 kB / 0.4898 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.6248, allocations: 0 / 0.4898 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6248, allocations: 4 kB / 0.4898 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.6252, allocations: 56.02 kB / 0.4898 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.6252, allocations: 0 / 0.4898 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.6254, allocations: 16.86 kB / 0.4898 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.6254, allocations: 11.98 kB / 0.4898 GB, free: 14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.6256, allocations: 121.8 kB / 0.49 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.6256, allocations: 15.86 kB / 0.49 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007484/0.6264, allocations: 276.5 kB / 0.4902 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6264, allocations: 0 / 0.4902 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6264, allocations: 4 kB / 0.4902 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.6264, allocations: 3.984 kB / 0.4902 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.6276, allocations: 0.5853 MB / 0.4908 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.6276, allocations: 0 / 0.4908 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.6279, allocations: 39.97 kB / 0.4908 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.6279, allocations: 4 kB / 0.4909 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.6279, allocations: 11.98 kB / 0.4909 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.6279, allocations: 7.875 kB / 0.4909 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6279, allocations: 4.062 kB / 0.4909 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.6286, allocations: 331.6 kB / 0.4912 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.6286, allocations: 81.02 kB / 0.4913 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.6287, allocations: 11.98 kB / 0.4913 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.6289, allocations: 11.98 kB / 0.4913 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.6289, allocations: 11.98 kB / 0.4913 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.629, allocations: 8 kB / 0.4913 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.3e-05/0.629, allocations: 87.27 kB / 0.4914 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.629, allocations: 0 / 0.4914 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.6294, allocations: 52.2 kB / 0.4914 GB, free: 12.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002495/0.6296, allocations: 123.2 kB / 0.4916 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005581/0.6302, allocations: 191.8 kB / 0.4917 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6302, allocations: 0 / 0.4917 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.6305, allocations: 104.5 kB / 0.4918 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.6309, allocations: 42.73 kB / 0.4919 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.6316, allocations: 338.2 kB / 0.4922 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.632, allocations: 0.6969 MB / 0.4929 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.6322, allocations: 39.41 kB / 0.4929 GB, free: 10.65 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6322, allocations: 0 / 0.4929 GB, free: 10.65 MB / 414.1 MB Notification: Performance of Templates: time 0.004726/0.637, allocations: 2.349 MB / 0.4952 GB, free: 8.309 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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_trunk_Modelica.Media.Examples.IdealGasH2OCalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.IdealGasH2OCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.IdealGasH2OCalcHelperMain.o] Error 1