Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.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) 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(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 89.23 kB / 16.95 MB, free: 5.953 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.001259/0.00126, allocations: 176.2 kB / 17.84 MB, free: 5.617 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.556/1.556, allocations: 223.2 MB / 241.8 MB, free: 240 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 8 kB / 301.4 MB, free: 6.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 50.42 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4878/0.5992, allocations: 137.4 MB / 489.2 MB, free: 12.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.6015, allocations: 1.482 MB / 490.7 MB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.6017, allocations: 8 kB / 490.7 MB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.602, allocations: 38.42 kB / 490.7 MB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.6025, allocations: 134.9 kB / 490.9 MB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.6054, allocations: 0.7668 MB / 491.6 MB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.6059, allocations: 398.7 kB / 492 MB, free: 9.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.6059, allocations: 9.453 kB / 492 MB, free: 9.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.6062, allocations: 139.5 kB / 492.2 MB, free: 9.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.6064, allocations: 127.7 kB / 492.3 MB, free: 9.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.6065, allocations: 11.47 kB / 492.3 MB, free: 9.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.6088, allocations: 1.299 MB / 493.6 MB, free: 8.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.609, allocations: 71.81 kB / 493.7 MB, free: 8.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.41e-05/0.609, allocations: 65.58 kB / 493.7 MB, free: 8.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000893/0.6099, allocations: 0.6213 MB / 494.4 MB, free: 7.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.61, allocations: 0 / 494.4 MB, free: 7.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.61, allocations: 3.938 kB / 494.4 MB, free: 7.488 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.61, allocations: 3.938 kB / 494.4 MB, free: 7.484 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001572/0.6116, allocations: 0.6401 MB / 495 MB, free: 6.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.6116, allocations: 8.031 kB / 495 MB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.6117, allocations: 19.81 kB / 495 MB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.612, allocations: 206.8 kB / 495.2 MB, free: 6.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.612, allocations: 12.33 kB / 495.3 MB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.6121, allocations: 15.91 kB / 495.3 MB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.6127, allocations: 269.4 kB / 495.5 MB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.6127, allocations: 0 / 495.5 MB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.6127, allocations: 11.95 kB / 495.5 MB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.6128, allocations: 11.98 kB / 495.6 MB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005919/0.6134, allocations: 263.7 kB / 495.8 MB, free: 5.945 MB / 398.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.001422/0.6148, allocations: 0.782 MB / 496.6 MB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.6154, allocations: 229.1 kB / 496.8 MB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.6157, allocations: 137.3 kB / 497 MB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.616, allocations: 348.4 kB / 497.3 MB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.6161, allocations: 46.5 kB / 497.3 MB, free: 4.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.332e-06/0.6161, allocations: 0 / 497.3 MB, free: 4.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002198/0.6183, allocations: 0.6713 MB / 498 MB, free: 3.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.6183, allocations: 85.05 kB / 498.1 MB, free: 3.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.6184, allocations: 116.1 kB / 498.2 MB, free: 3.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.6185, allocations: 37.7 kB / 498.2 MB, free: 3.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.6186, allocations: 108.8 kB / 498.4 MB, free: 3.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.6187, allocations: 130.1 kB / 498.5 MB, free: 3.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.6187, allocations: 4 kB / 498.5 MB, free: 3.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6189, allocations: 326.8 kB / 498.8 MB, free: 2.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.6192, allocations: 131.9 kB / 498.9 MB, free: 2.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.6196, allocations: 207.5 kB / 499.1 MB, free: 2.367 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.62, allocations: 155.9 kB / 499.3 MB, free: 2.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.62, allocations: 3.938 kB / 499.3 MB, free: 2.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008469/0.6208, allocations: 406.8 kB / 499.7 MB, free: 1.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.6208, allocations: 4 kB / 499.7 MB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.6209, allocations: 7.953 kB / 499.7 MB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.6209, allocations: 4.219 kB / 499.7 MB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.6213, allocations: 91.88 kB / 499.8 MB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.6214, allocations: 4 kB / 499.8 MB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.6216, allocations: 23.89 kB / 499.8 MB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.6217, allocations: 19.98 kB / 499.8 MB, free: 1.656 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0001701/0.6219, allocations: 149.7 kB / 500 MB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.6219, allocations: 19.8 kB / 0.4883 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.6223, allocations: 173.7 kB / 0.4885 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.6223, allocations: 4 kB / 0.4885 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.6224, allocations: 384 / 0.4885 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6224, allocations: 3.984 kB / 0.4885 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.6239, allocations: 0.751 MB / 0.4892 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.6239, allocations: 4 kB / 0.4892 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.6243, allocations: 87.97 kB / 0.4893 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.6243, allocations: 4 kB / 0.4893 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.6243, allocations: 8 kB / 0.4893 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.6244, allocations: 4 kB / 0.4893 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6244, allocations: 0 / 0.4893 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.6256, allocations: 0.706 MB / 0.49 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.6258, allocations: 124.8 kB / 0.4901 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.6258, allocations: 8 kB / 0.4901 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.6261, allocations: 15.98 kB / 0.4901 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.6262, allocations: 35.97 kB / 0.4902 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.6262, allocations: 19.98 kB / 0.4902 GB, free: 15.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.271e-05/0.6263, allocations: 95.2 kB / 0.4903 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.6263, allocations: 0 / 0.4903 GB, free: 15.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006612/0.627, allocations: 143.9 kB / 0.4904 GB, free: 15.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.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 (38): * Single equations (assignments): 38 * 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.0004914/0.6275, allocations: 219 kB / 0.4906 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008053/0.6283, allocations: 340.7 kB / 0.4909 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6283, allocations: 0 / 0.4909 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.6287, allocations: 174.5 kB / 0.4911 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.6294, allocations: 94.3 kB / 0.4912 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.6309, allocations: 0.7591 MB / 0.4919 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.6312, allocations: 0.7413 MB / 0.4927 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.6314, allocations: 31.42 kB / 0.4927 GB, free: 12.76 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6314, allocations: 3.938 kB / 0.4927 GB, free: 12.76 MB / 414.1 MB Notification: Performance of Templates: time 0.007907/0.6393, allocations: 4.362 MB / 0.497 GB, free: 8.395 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.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_4.0.0_Modelica.Media.Examples.MoistAirCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.MoistAirCalcHelperMain.o] Error 1