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.001366/0.001367, allocations: 101 kB / 17.96 MB, free: 5.766 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.001834/0.001834, allocations: 177.1 kB / 18.86 MB, free: 4.906 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.964/1.964, allocations: 205.4 MB / 225 MB, free: 12.98 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.0005148/0.000515, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4788/0.5938, allocations: 146.3 MB / 475.9 MB, free: 7.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.5959, allocations: 1.551 MB / 477.4 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.596, allocations: 1.031 kB / 477.4 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.5962, allocations: 22.14 kB / 477.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000849/0.597, allocations: 273.5 kB / 477.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.5972, allocations: 47.83 kB / 477.8 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.5973, allocations: 75.59 kB / 477.9 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.5974, allocations: 3.984 kB / 477.9 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.5975, allocations: 33.36 kB / 477.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.5976, allocations: 27.91 kB / 477.9 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.5976, allocations: 4 kB / 477.9 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007588/0.5984, allocations: 367.4 kB / 478.3 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.5984, allocations: 11.94 kB / 478.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.5985, allocations: 54.83 kB / 478.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.5988, allocations: 207.6 kB / 478.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.5988, allocations: 0 / 478.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5988, allocations: 4 kB / 478.6 MB, free: 4.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.5989, allocations: 0 / 478.6 MB, free: 4.816 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.0009262/0.5998, allocations: 427.9 kB / 479 MB, free: 4.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5998, allocations: 11.97 kB / 479 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006013/0.6059, allocations: 448.2 kB / 479.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.606, allocations: 168.5 kB / 479.6 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.606, allocations: 15.92 kB / 479.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.473e-05/0.6061, allocations: 4 kB / 479.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000772/0.6069, allocations: 301.2 kB / 479.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6069, allocations: 0 / 479.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.607, allocations: 0 / 479.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.607, allocations: 7.938 kB / 479.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.6078, allocations: 279.7 kB / 480.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009619/0.6088, allocations: 429.9 kB / 480.6 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009702/0.6097, allocations: 204.6 kB / 480.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.6099, allocations: 68.81 kB / 480.9 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.61, allocations: 4 kB / 480.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.61, allocations: 39.38 kB / 480.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.924e-06/0.61, allocations: 0 / 480.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001689/0.6117, allocations: 425.4 kB / 481.3 MB, free: 1.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.6118, allocations: 55.41 kB / 481.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.6119, allocations: 101.8 kB / 481.5 MB, free: 1.699 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.6119, allocations: 29.7 kB / 481.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.612, allocations: 99.88 kB / 481.6 MB, free: 1.562 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.178e-05/0.612, allocations: 59.11 kB / 481.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.6121, allocations: 25.7 kB / 481.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6122, allocations: 318.8 kB / 482 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.6125, allocations: 79.94 kB / 482.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.6128, allocations: 116.2 kB / 482.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005547/0.6134, allocations: 203.4 kB / 482.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6134, allocations: 0 / 482.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006476/0.614, allocations: 249.4 kB / 482.6 MB, free: 496 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.6141, allocations: 4 kB / 482.6 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.6141, allocations: 0 / 482.6 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.6141, allocations: 4 kB / 482.6 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.6145, allocations: 51.89 kB / 482.7 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.6145, allocations: 0 / 482.7 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.6148, allocations: 17.23 kB / 482.7 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.6148, allocations: 11.98 kB / 482.7 MB, free: 408 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.6149, allocations: 125.8 kB / 482.8 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.615, allocations: 16.03 kB / 482.9 MB, free: 256 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008459/0.6158, allocations: 273.9 kB / 483.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.6159, allocations: 4 kB / 483.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6159, allocations: 0 / 483.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6159, allocations: 0 / 483.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.6172, allocations: 0.5842 MB / 483.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6172, allocations: 3.938 kB / 483.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.6175, allocations: 48.02 kB / 483.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6175, allocations: 0 / 483.8 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.6176, allocations: 8 kB / 483.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.6176, allocations: 8 kB / 483.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6176, allocations: 0 / 483.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.6182, allocations: 340 kB / 484.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.6183, allocations: 88.95 kB / 484.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.6183, allocations: 4 kB / 484.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.6186, allocations: 15.92 kB / 484.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.6186, allocations: 15.92 kB / 484.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.6187, allocations: 19.98 kB / 484.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.758e-05/0.6187, allocations: 83.27 kB / 484.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6188, allocations: 0 / 484.3 MB, free: 14.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003304/0.6191, allocations: 40 kB / 484.4 MB, free: 14.63 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002442/0.6193, allocations: 131.1 kB / 484.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000619/0.62, allocations: 191.8 kB / 484.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.62, allocations: 0 / 484.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.6203, allocations: 111.8 kB / 484.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.6207, allocations: 31.97 kB / 484.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008383/0.6216, allocations: 354.3 kB / 485.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.6219, allocations: 0.6892 MB / 485.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.6221, allocations: 31.41 kB / 485.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6221, allocations: 4 kB / 485.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of Templates: time 0.004345/0.6264, allocations: 2.308 MB / 488.2 MB, free: 10.72 MB / 382.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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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