Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008525/0.0008524, allocations: 90.66 kB / 17.58 MB, free: 5.801 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.0008786/0.0008786, allocations: 182.2 kB / 18.48 MB, free: 5.254 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.693/1.693, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0005779/0.000578, allocations: 8 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1143, allocations: 47.58 MB / 329 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4554/0.5697, allocations: 156.9 MB / 485.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.5738, allocations: 2.993 MB / 488.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000353/0.5742, allocations: 7.938 kB / 488.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.5747, allocations: 135.2 kB / 489.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008555/0.5756, allocations: 358.2 kB / 489.4 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.5764, allocations: 277.9 kB / 489.7 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.5775, allocations: 1.11 MB / 490.8 MB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.5777, allocations: 69.19 kB / 490.9 MB, free: 8.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.5792, allocations: 0.6733 MB / 491.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/0.5795, allocations: 279 kB / 491.8 MB, free: 7.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.5795, allocations: 12 kB / 491.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.5798, allocations: 111.8 kB / 491.9 MB, free: 7.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.569e-05/0.5799, allocations: 75.77 kB / 492 MB, free: 7.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.561e-05/0.58, allocations: 89.58 kB / 492.1 MB, free: 7.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.5804, allocations: 400.5 kB / 492.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5804, allocations: 0 / 492.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5805, allocations: 0 / 492.5 MB, free: 6.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.5805, allocations: 0 / 492.5 MB, free: 6.633 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007637/0.5812, allocations: 0.5229 MB / 493 MB, free: 6.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5813, allocations: 11.97 kB / 493 MB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.5816, allocations: 43.62 kB / 493.1 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.5819, allocations: 270.6 kB / 493.3 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.582, allocations: 20.56 kB / 493.3 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.582, allocations: 27.91 kB / 493.4 MB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.5825, allocations: 319.7 kB / 493.7 MB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5826, allocations: 0 / 493.7 MB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.5826, allocations: 19.94 kB / 493.7 MB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.5826, allocations: 8 kB / 493.7 MB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.583, allocations: 205.5 kB / 493.9 MB, free: 5.086 MB / 382.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.001783/0.5848, allocations: 1.577 MB / 495.5 MB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.5851, allocations: 175.4 kB / 495.7 MB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.5852, allocations: 100.8 kB / 495.8 MB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.5853, allocations: 4 kB / 495.8 MB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.5853, allocations: 30.56 kB / 495.8 MB, free: 3.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.5853, allocations: 0 / 495.8 MB, free: 3.035 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004861/0.5902, allocations: 1.631 MB / 497.4 MB, free: 1.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.5902, allocations: 55.41 kB / 497.5 MB, free: 1.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.5905, allocations: 256.8 kB / 497.7 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.5906, allocations: 33.7 kB / 497.8 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.5907, allocations: 176.2 kB / 497.9 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.5908, allocations: 98.56 kB / 498 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.5908, allocations: 4 kB / 498 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5909, allocations: 338.8 kB / 498.4 MB, free: 296 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.5911, allocations: 91.73 kB / 498.5 MB, free: 204 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.5913, allocations: 187.7 kB / 498.6 MB, free: 15.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.5915, allocations: 115.9 kB / 498.8 MB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5915, allocations: 4 kB / 498.8 MB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006346/0.5922, allocations: 391.1 kB / 499.1 MB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.5922, allocations: 19.92 kB / 499.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.5922, allocations: 4 kB / 499.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.5925, allocations: 73.69 kB / 499.2 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.5928, allocations: 79.89 kB / 499.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.5942, allocations: 1.852 MB / 0.4894 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.5944, allocations: 28.11 kB / 0.4894 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.5945, allocations: 36 kB / 0.4895 GB, free: 13.21 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * 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: 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.0001694/0.5947, allocations: 161.7 kB / 0.4896 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.5947, allocations: 27.72 kB / 0.4897 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009224/0.5956, allocations: 444.5 kB / 0.4901 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5957, allocations: 4 kB / 0.4901 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.5957, allocations: 0 / 0.4901 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005554/0.5962, allocations: 0.5629 MB / 0.4906 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009443/0.5972, allocations: 0.7271 MB / 0.4913 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5972, allocations: 4 kB / 0.4914 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.5975, allocations: 67.89 kB / 0.4914 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.345e-05/0.5976, allocations: 20.84 kB / 0.4914 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.5976, allocations: 15.98 kB / 0.4915 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009288/0.5985, allocations: 1.284 MB / 0.4927 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5985, allocations: 0 / 0.4927 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.5992, allocations: 482.8 kB / 0.4932 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.049e-05/0.5993, allocations: 108.7 kB / 0.4933 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.5994, allocations: 8 kB / 0.4933 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.5996, allocations: 16.05 kB / 0.4933 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.5997, allocations: 23.97 kB / 0.4933 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.5997, allocations: 35.98 kB / 0.4933 GB, free: 8.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.5999, allocations: 186 kB / 0.4935 GB, free: 8.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5999, allocations: 0 / 0.4935 GB, free: 8.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005135/0.6004, allocations: 124 kB / 0.4936 GB, free: 8.582 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004137/0.6008, allocations: 159 kB / 0.4938 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006336/0.6015, allocations: 379.1 kB / 0.4942 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6015, allocations: 4 kB / 0.4942 GB, free: 8.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002844/0.6018, allocations: 222.6 kB / 0.4944 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008774/0.6027, allocations: 172.4 kB / 0.4945 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.6039, allocations: 0.853 MB / 0.4954 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.6044, allocations: 0.7761 MB / 0.4961 GB, free: 5.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.6046, allocations: 71.41 kB / 0.4962 GB, free: 5.871 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.6046, allocations: 0 / 0.4962 GB, free: 5.871 MB / 398.1 MB Notification: Performance of Templates: time 0.01041/0.615, allocations: 7.449 MB / 0.5035 GB, free: 14.42 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Tests.MediaTestModels.IdealGases.AirCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.AirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.AirCalcHelperMain.o] Error 1