Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009493, allocations: 91.12 kB / 17.58 MB, free: 5.758 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.001036/0.001036, allocations: 186.6 kB / 18.48 MB, free: 5.203 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.643/1.643, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004948/0.0004948, allocations: 12 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.432/0.5493, allocations: 136.4 MB / 465.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.5512, allocations: 1.401 MB / 466.8 MB, free: 368 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.5513, allocations: 4 kB / 466.8 MB, free: 364 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.5515, allocations: 15.91 kB / 466.8 MB, free: 348 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007466/0.5522, allocations: 259.2 kB / 467.1 MB, free: 96 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.5524, allocations: 51.81 kB / 467.1 MB, free: 44 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.5525, allocations: 71.53 kB / 467.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.5526, allocations: 4 kB / 467.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.5527, allocations: 31.86 kB / 467.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.985e-05/0.5528, allocations: 27.91 kB / 467.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.5528, allocations: 0 / 467.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006804/0.5535, allocations: 359.5 kB / 467.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.5535, allocations: 15.92 kB / 467.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.5536, allocations: 33.7 kB / 467.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.5539, allocations: 213.1 kB / 467.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5539, allocations: 0 / 467.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5539, allocations: 3.938 kB / 467.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.554, allocations: 0 / 467.9 MB, free: 15.29 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008167/0.5548, allocations: 423.7 kB / 468.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5548, allocations: 12.03 kB / 468.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/0.5598, allocations: 455.8 kB / 468.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.5599, allocations: 159.6 kB / 468.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.5599, allocations: 11.89 kB / 468.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/0.56, allocations: 11.94 kB / 468.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007135/0.5607, allocations: 299.9 kB / 469.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.5607, allocations: 4 kB / 469.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.5608, allocations: 4 kB / 469.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.5608, allocations: 0.875 kB / 469.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007215/0.5615, allocations: 275.8 kB / 469.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009409/0.5625, allocations: 437.3 kB / 469.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/0.5634, allocations: 202.3 kB / 470.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.5636, allocations: 73.69 kB / 470.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.5637, allocations: 8 kB / 470.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.5637, allocations: 30.56 kB / 470.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.5637, allocations: 0 / 470.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001562/0.5653, allocations: 425.8 kB / 470.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.5653, allocations: 55.39 kB / 470.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.5654, allocations: 105.8 kB / 470.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.5655, allocations: 25.7 kB / 470.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.5655, allocations: 107.9 kB / 470.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.5656, allocations: 59.11 kB / 471 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.5656, allocations: 0 / 471 MB, free: 11.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5657, allocations: 318.8 kB / 471.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.566, allocations: 76.31 kB / 471.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.5663, allocations: 124.9 kB / 471.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.5665, allocations: 75.97 kB / 471.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5665, allocations: 4 kB / 471.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005815/0.5671, allocations: 247.9 kB / 471.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5671, allocations: 8 kB / 471.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.5672, allocations: 3.984 kB / 471.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5672, allocations: 9.875 kB / 471.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.5675, allocations: 51.95 kB / 471.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5675, allocations: 0 / 471.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.5678, allocations: 11.98 kB / 471.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.5678, allocations: 12 kB / 471.9 MB, free: 11.02 MB / 366.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.0001284/0.5679, allocations: 117.8 kB / 472 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.568, allocations: 11.86 kB / 472 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007725/0.5688, allocations: 281.8 kB / 472.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.5688, allocations: 3.938 kB / 472.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5688, allocations: 0 / 472.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5688, allocations: 4 kB / 472.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.57, allocations: 0.5746 MB / 472.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.57, allocations: 3.875 kB / 472.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.5703, allocations: 51.89 kB / 472.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5703, allocations: 4 kB / 473 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.5703, allocations: 3.984 kB / 473 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.5703, allocations: 8.062 kB / 473 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5704, allocations: 0 / 473 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.571, allocations: 332.6 kB / 473.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.571, allocations: 81.3 kB / 473.4 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.5711, allocations: 8 kB / 473.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.5713, allocations: 7.984 kB / 473.4 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.5714, allocations: 19.91 kB / 473.4 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.5714, allocations: 15.98 kB / 473.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.701e-05/0.5714, allocations: 79.28 kB / 473.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.5714, allocations: 4 kB / 473.5 MB, free: 9.324 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.5718, allocations: 43.94 kB / 473.5 MB, free: 9.281 MB / 366.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.0002599/0.5721, allocations: 127.2 kB / 473.7 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.5727, allocations: 203.7 kB / 473.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5727, allocations: 0 / 473.9 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.5729, allocations: 104.9 kB / 474 MB, free: 8.844 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.5734, allocations: 42.16 kB / 474 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.5742, allocations: 334.2 kB / 474.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5745, allocations: 0.697 MB / 475 MB, free: 7.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.5747, allocations: 31.41 kB / 475.1 MB, free: 7.691 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5747, allocations: 0 / 475.1 MB, free: 7.691 MB / 366.1 MB Notification: Performance of Templates: time 0.004373/0.579, allocations: 2.317 MB / 477.4 MB, free: 5.367 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.IdealGasH2OCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.IdealGasH2OCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.IdealGasH2OCalcHelperMain.o] Error 1